[POMOC]Erorri

Započeo ivanjokic, Novembar 25, 2010, 14:17:18 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pozdrav meni izbacuje sljedece erorre:

C:\Documents and Settings\Jokic\Desktop\Programi\Samp Serveri\samp03bsvr_R2_win32\pawno\include\streamer.inc(408) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Jokic\Desktop\Programi\Samp Serveri\samp03bsvr_R2_win32\gamemodes\CSRP.pwn(4511) : error 017: undefined symbol "vehicle"
C:\Documents and Settings\Jokic\Desktop\Programi\Samp Serveri\samp03bsvr_R2_win32\gamemodes\CSRP.pwn(4512) : error 017: undefined symbol "vehicle"
C:\Documents and Settings\Jokic\Desktop\Programi\Samp Serveri\samp03bsvr_R2_win32\gamemodes\CSRP.pwn(4513) : error 017: undefined symbol "vehicle"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.


Prvi erorr nemojte uracunavati on je od streama koji koristim ali ovi drugi su mi vazni :P

Evo taj dio dje se to javlja :

if(IsAnOwnableCar(newcar))
{
    if(CarInfo[newcar][cOwned]==0)
    {
        TogglePlayerControllable(playerid, 0);
        format(string,sizeof(string),"~w~Vozilo: %s~n~Cijena: ~g~%d~n~~w~/v buy kako biste kupilo ovo vozilo~n~~r~/exit ~w~kako biste izasli!",CarInfo[newcar][cDescription],CarInfo[newcar][cValue]);
GameTextForPlayer(playerid,string,5000,5);
    }
    if(CarInfo[newcar][cOwned]==1)
    {
        format(string,sizeof(string),"Vlasnik vozila %s",CarInfo[newcar][cOwner]);
SendClientMessage(playerid, COLOR_BLUE, string);
{

}
if(PlayerInfo[playerid][pPcarkey] == vehicle) { }
else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { }
else if(PlayerInfo[playerid][pPcarkey3] == vehicle) { }
else
{
    if(PlayerInfo[playerid][pAdmin] >= 1337 && AdminDuty[playerid] == 1)
{
    SendClientMessage(playerid, COLOR_GREY, "  You can drive this car because you are admin on duty !");
}
    else
    {

}
}
    }
}
gLastCar[playerid] = newcar;
gLastDriver[newcar] = playerid;
}


Molim vas pomozite mi.
Unaprijed hvala

ivanjokic
Pozivamo vas da se pridruzite Speedtouch zajednici!

Uskriptane organizacije:

FBI , PD, Military, Tehnicari, S.W.A.T. , CNN, Medic

Uskriptane Bande/Mafije:

Balkan Mafia, Terori (Teroristi), MS 13, GSF (Grove Street Families)

SpeedTouch SA:MP RolePlay Server
188.72.226.231:7777




Ispod

if(IsAnOwnableCar(newcar))
{


dodaj ovo:

new vehicle = GetPlayerVehicleID(playerid);

a ako nebude sljakalo, probaj:

new vehicle;

E covjece hvala sto si pokusao ali nije ti uspjelo doslo je jos 5 erora ali sam to na kraju rijesio stavio sam 1 umjesto veh.... mozete lock problem je bio sto je veh... oznacavalo dali imam kljuc ili ne hvala ti i lock  ;)
Pozivamo vas da se pridruzite Speedtouch zajednici!

Uskriptane organizacije:

FBI , PD, Military, Tehnicari, S.W.A.T. , CNN, Medic

Uskriptane Bande/Mafije:

Balkan Mafia, Terori (Teroristi), MS 13, GSF (Grove Street Families)

SpeedTouch SA:MP RolePlay Server
188.72.226.231:7777