[Pomoc] OnPlayerCommandText

Započeo [Samp-School]Vaskeâ„¢, Maj 15, 2012, 19:38:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:Balkan Exotic (EDIT)
Detaljan opis problema: Kako u ovom delu skripte da stavim da samo mogu admini od 1 do 1340 lvl-a
public OnPlayerCommandText(playerid, cmdtext[])
{
//Tuning Start
if (strcmp("/tune", cmdtext, true, 10) == 0)
    {
if(IsPlayerInAnyVehicle(playerid))



SLIKE : ////

If(PlayerInfo[playerid][pAdmin] >= 1)


C:\Documents and Settings\User\My Documents\Downloads\Balkan Express x 13 PRAVA\BE\evotune\evotune.pwn(36) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\User\My Documents\Downloads\Balkan Express x 13 PRAVA\BE\evotune\evotune.pwn(36) : warning 215: expression has no effect
C:\Documents and Settings\User\My Documents\Downloads\Balkan Express x 13 PRAVA\BE\evotune\evotune.pwn(36) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\User\My Documents\Downloads\Balkan Express x 13 PRAVA\BE\evotune\evotune.pwn(36) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\My Documents\Downloads\Balkan Express x 13 PRAVA\BE\evotune\evotune.pwn(36) : 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.

Omg pa koristiš kako je kod tebe definiran enum pInfo