24.06.2010, 18:57
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys & KEY_FIRE) { for(new q = 0; q > 50; q++) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid,x,y,z); if(IsPlayerConnected(q)) SetPlayerMapIcon(q, 1, x, y, z, 41, COLOR_RED); SetTimer("ShootIcon",2000,0); } } return 1; }
But it doesnt work and i have no idea what to do to fix it :S. Does anyone of you know how to make it show for all players ?
~Nookie