25.06.2018, 23:37
How to write out a random gun system in front of each house door and players can pick it up, who has a fs available? or someone please guide me with
CMD:showmecoordinate { new Float:x,Float:y,Float:z,mypos[70]; GetPlayerPos(playerid,x,y,z); format(mypos,sizeof(mypos),"My X: %f. My Y: %f. My Z: %f",x,y,z); SendClientMessage(playerid,-1,mypos); return 1; }
Get your positions from this.
Код:
CMD:showmecoordinate { new Float:x,Float:y,Float:z,mypos[70]; GetPlayerPos(playerid,x,y,z); format(mypos,sizeof(mypos),"My X: %f. My Y: %f. My Z: %f",x,y,z); SendClientMessage(playerid,-1,mypos); return 1; } https://sampwiki.blast.hk/wiki/CreatePickup You can look here for what will happen after players enter a pickup: https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup |