26.02.2010, 23:16
let me guess, you try this in a server where ur id 0?
i think the problem is:
remove the "return 1;" and i think it wil work
i think the problem is:
Код:
for(new i;i<MAX_PLAYERS;i++) { GivePlayerWeapon(i, gun, ammo); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "You have received a %s with %d ammo from admin %s.",ftext,ammo,sendername); SendClientMessage(i,0xC84200AA,string); format(string, 256, "[EVENT]: %s has gived a %s with %d ammo.",sendername,ftext,ammo); SendClientMessageToAll(COLOR_LIGHTRED, string); return 1;<<<here }