13.09.2010, 10:45
This is the script:
And this is the error message:
What does that error message mean? Sorry...
Код:
#include <a_samp> public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/start", cmdtext, true, 10) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { PlayerPlaySound(i,1057,0.0,0.0,0.0); GivePlayerWeapon(i,31,350); GivePlayerWeapon(i,24,350); GivePlayerWeapon(i,26,350); GivePlayerWeapon(i,27,350); } return 1; } return 0; }
Код:
E:\Program Files\Rockstar Games\GTA San Andreas\pawno\event.pwn(14) : warning 217: loose indentation E:\Program Files\Rockstar Games\GTA San Andreas\pawno\event.pwn(16) : warning 217: loose indentation E:\Program Files\Rockstar Games\GTA San Andreas\pawno\event.pwn(18) : error 030: compound statement not closed at the end of file (started at line 4) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.