/SKYDIVE command... But without being moved...
#1

I have tried many times, with FAILURE! I need someone to show me how to make a cmd to give play a parachute, then add 2000 to their height, i know i need GetPlayerPosition, and

Код:
GivePlayerWeapon(playerid,46,1);
for the parachute, but i dont know how to only add to the players position, without moving him/her!... Please help, will +rep!
Reply
#2

pawn Код:
new Float:pPos[3];
GetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]);
SetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]+2000);
Reply
#3

lol, it worked... +repped!
Reply
#4

How do you generally process commands in your script?

Anyway...
pawn Код:
new Float:pPos[3];
GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]); // Gets the position
SetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]+2000.0); // Sets the position and adds 2 kilometers altitude.
Reply
#5

To late!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)