01.08.2013, 23:12
(
Последний раз редактировалось cray1100; 01.08.2013 в 23:13.
Причина: added code
)
I have a cmd that allows players to do /skydive, and it adds 1000 meters to their current location... Is it possible to make them be able to choose the meters? such as...
/skydive [amount of meters they want to go]
Is it possible? and can you show me?
/skydive [amount of meters they want to go]
Is it possible? and can you show me?
Код:
if(!strcmp("/chuter",cmdtext,true)) { new Float:pPos[3]; GivePlayerWeapon(playerid,46,1); GetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]); SetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]+1000); return 1; }