03.01.2012, 12:47
new error:
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : warning 225: unreachable code
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : warning 217: loose indentation
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : error 029: invalid expression, assumed zero
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : error 017: undefined symbol "cmdtext"
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84146) : error 017: undefined symbol "cmdtext"
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84157) : error 030: compound statement not closed at the end of file (started at line 84000)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
script starting at line 84144
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : warning 225: unreachable code
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : warning 217: loose indentation
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : error 029: invalid expression, assumed zero
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : error 017: undefined symbol "cmdtext"
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84146) : error 017: undefined symbol "cmdtext"
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84157) : error 030: compound statement not closed at the end of file (started at line 84000)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
script starting at line 84144
Код:
public OnPlayerCommandText(playerid,cmdtext[]) { if(!strcmp(cmdtext, "/entermech", true)) { if(!IsPlayerInRangeOfPoint(playerid,5,1790.2391,-1720.8370,13.5395)) { SetPlayerPos(playerid,-2029.798339,-106.675910,1035.171875); SetPlayerInterior(playerid,3); GameTextForPlayer(playerid,"Welcome to Cobomau Mechanics",4000,6); return 1; } } }