[POMOC] Eror

Započeo Duda97, Mart 05, 2011, 17:27:39 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Ovo je file skripta kojoj dodajem komande, evo vam naziv: aero_drag, to je race
Detaljan opis problema:  Dodo sam komande neke, /setracer1 i /setracer2 i /gotodrag i na compile izbaci [cenzura]e erore, evo vam erora koje izbacuje : D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(46) : warning 201: redefinition of constant/macro (symbol "pInfo")
D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(257) : error 012: invalid function call, not a valid address
D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(257) : warning 215: expression has no effect
D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(257) : warning 215: expression has no effect
D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(257) : error 001: expected token: ";", but found ")"
D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(257) : error 029: invalid expression, assumed zero
D:\San Andreas MultiPlayer documents\Modovi\Ultimate novi mod\aero_drag.pwn(257) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Ne znam kao prvo sta znace ti erori, a drugo neznam da ih ispravim :@
Dio skripte: if (strcmp(cmdtext, "/setracer1",  true)==0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, ZUTO, "KORISTITE: /setracer1 [IgracevID/DioImena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pEventMember] == 1))
{
if(IsPlayerConnected(giveplayerid))
{
SetPlayerCheckpoint(giveplayerid, 2051.2817,-2496.4219,13.1114,7.0); // PRVI CHECKPOINT NA RACE
CP[giveplayerid] = 94; // OVO JE ONAJ PRVI BROJ KOD CP-A
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "STREET ORGANIZATOR %s je pozvao %s na Street Race!", sendername, giveplayer);
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste autorizirani za koristenje ove komande !");
}
}
return 1;
}


Ta linija 257 je ova : tmp = strtok(cmdtext, idx);
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

EDIT: HITNO MI JE, STVARNO MI JE HITNO OVO, POMOGNITE MI MOLIM VAS, HVALA UNAPRED
Poslednja Izmena: Mart 05, 2011, 17:43:23 POSLE PODNE od Duda97