[SAVET] lider i rank 5...

Započeo Eazy_E, Jun 21, 2011, 23:18:27 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:StreetStories
Detaljan opis problema: Treba mi savet kako da odradim da u kola moze da udje lideri i clan sa ecim rankom od 4
ja sam uradio ovako.....ali dobijem errore
Dio skripte:
    if(PlayerInfo[playerid][pLeader] == 12) && PlayerInfo[playerid][pRank] > 5) { }
Errori...
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(7072) : error 029: invalid expression, assumed zero
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(7072) : warning 215: expression has no effect
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(7072) : error 001: expected token: ";", but found ")"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(7072) : error 029: invalid expression, assumed zero
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(7072) : 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.

dragan12

Stavi ovako:
if(PlayerInfo[playerid][pLeader] == 12||PlayerInfo[playerid][pRank] >= 5) { }