Help with pteleon Command
#1

hello guys i just scripted a pteleon command when i compiled it shows me an error can you please help me

Код:
C:\Documents and Settings\Administrator\Desktop\Mani\gamemodes\Gamemode.pwn(375) : error 017: undefined symbol "PTELE"
C:\Documents and Settings\Administrator\Desktop\Mani\gamemodes\Gamemode.pwn(375) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Mani\gamemodes\Gamemode.pwn(375) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\Mani\gamemodes\Gamemode.pwn(375) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Mani\gamemodes\Gamemode.pwn(375) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
the lines

pawn Код:
if(PTELE[playerid]==1)
   return ShowPlayerDialog(playerid, 9, DIALOG_STYLE_MSGBOX, "{46BEE6}[SuperTDM Info]:", "You've already enabled tele command.Use /teleoff", "Ohkey", "Close");
Reply
#2

On the top of your script add
pawn Код:
new bool:PTELE[MAX_PLAYERS];
bool is used for getting true or false variables only(0,1) , not for counting++
Reply
#3

Thank YOU !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)