18.01.2011, 01:29 
	
	
	
		I'm really new to scripting and only know basic stuff, and I get an error code and need some help
Here it is:
This command is in the OnPlayerCommand function
And it gives me this error code
Thanks in advanced.
	
	
	
	
Here it is:
This command is in the OnPlayerCommand function
Код:
 	if (strcmp("/allwep", cmdtext, true, 10) == 0)
        GivePlayerWeapon(playerid,31,1000);
	GivePlayerWeapon(playerid,29,1000);
	GivePlayerWeapon(playerid,34,1000);
	GivePlayerWeapon(playerid,32,1000);
	GivePlayerWeapon(playerid,28,1000);
	GivePlayerWeapon(playerid,25,1000);
	GivePlayerWeapon(playerid,27,1000);
	GivePlayerWeapon(playerid,30,1000);
	GivePlayerWeapon(playerid,24,1000);
        SendClientMessage(playerid,COLOR_ORANGERED,"INFO: You have been provided with all the weapons.");
	return 1;
	}
}
Thanks in advanced.
Код:
C:\Users\Kyle\Desktop\SAMP RP USE THIS!\gamemodes\testserver.pwn(204) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.




