[POMOC]2 Errora

Započeo hood9, April 08, 2011, 13:24:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: svoj mod od 0
Dio skripte:
Detaljan opis problema:Pravio sam poslove eo odavde http://balkan-samp.com/forum/index.php?topic=9919.0
i napravim sve i dode mi ova 2 errora

a taj red 5213 je ovo

else if(CP[playerid] == 200) { CP[playerid] = 201; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2093.1453,156.5550,34.8574,10.0); }

C:\Users\USER\Desktop\heh.pwn(5213) : error 029: invalid expression, assumed zero
C:\Users\USER\Desktop\heh.pwn(5213) : warning 215: expression has no effect
C:\Users\USER\Desktop\heh.pwn(5213) : error 001: expected token: ";", but found "if"
C:\Users\USER\Desktop\heh.pwn(18705) : warning 209: function "OnPlayerLogin" should return a value
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Poslednja Izmena: April 08, 2011, 16:16:01 POSLE PODNE od hood9

Evo ovdje je rijeseno msm da moze LOCK  ;D
btw problem ti je bio znas vec posl osam ti na PM ide ti ovako if(CP[playerid] == 200) { CP[playerid] = 201; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, x,y,z,10.0); }
else if(CP[playerid] == 201) { CP[playerid] = 202; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, x,y,z,10.0); }
    else if(CP[playerid] == 202) { CP[playerid] = 203; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -x,y,z,10.0); }