13.09.2010, 10:24
Well, I was actually un-successful... This:
That shouldn't give ALL the players weapons? Right? I want it to be ALL players get weapons...
Код:
#include <a_samp> public OnPlayerCommandText(playerid, cmdtext[]) if (strcmp("/startevent", 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; }