[Pomoc] Error

Započeo Ryan Sanchez, Januar 28, 2012, 13:29:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Moj od 0
Detaljan opis problema: Error
Dio skripte: Dole
Neke slike/video za lakse dobivanje pomoci(neobavezno):

if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_ORANGE "Nemozes sam sebe odvezati" ); return 1; }

C:\Users\Desktop\gamemodes\OldSchool.pwn(23625) : error 001: expected token: ",", but found "-string-"
C:\Users\Desktop\gamemodes\OldSchool.pwn(23625) : warning 215: expression has no effect
C:\Users\Desktop\gamemodes\OldSchool.pwn(23625) : error 001: expected token: ";", but found ")"
C:\Users\Desktop\gamemodes\OldSchool.pwn(23625) : error 029: invalid expression, assumed zero
C:\Users\Desktop\gamemodes\OldSchool.pwn(23625) : fatal error 107: too many error messages on one line


Pomoc pls


EDIT: Evo vam citava...

   if(strcmp(cmd, "/untie", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(IsAMember(playerid))
{
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_DGOLD, "Koristi: /untie [Playerid/DioImena]");
return 1;
    }
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
    if (ProxDetectorS(8.0, playerid, giveplayerid))
{
    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_ORANGE "Nemozes sam sebe odvezati" ); return 1; }
if(PlayerTied[giveplayerid])
{
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s odvezuje uze sa %s.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_GOLD,COLOR_GOLD,COLOR_GOLD,COLOR_GOLD,COLOR_GOLD);
GameTextForPlayer(giveplayerid, "~g~Odvezano", 2500, 3);
TogglePlayerControllable(giveplayerid, 1);
PlayerTied[giveplayerid] = 0;
}
else
{
    SendClientMessage(playerid, COLOR_LIGHTRED, "Igrac nije zavezan !");
    return 1;
}
}
else
{
    SendClientMessage(playerid, COLOR_RED, "  Igrac nije blizu tebe !");
    return 1;
}
}
}
else
{
    SendClientMessage(playerid, COLOR_RED, "Igrac je Offline !");
    return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Niste Clan Bande niti Lider !");
}
}//not connected
return 1;
}
Poslednja Izmena: Januar 28, 2012, 13:30:27 POSLE PODNE od [LB] Edin Black

Uspio sam ispravit 2 Errora. al osto mi ovaj ..

C:\Users\gamemodes\OldSchool.pwn(23625) : error 001: expected token: ",", but found "-string-"
C:\Users\gamemodes\OldSchool.pwn(23625) : warning 215: expression has no effect

Evo ovako...

if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_ORANGE, "Nemozes sam sebe odvezati" ); return 1; }