25.06.2010, 03:27
I wan't to do this: when I'm in a car and type /dive, I'll get 300 feet into the air and text: "I hope the airbag works :P" will pop up on screen.
And, when I'm not in a car and type /dive, I'll get an parachute, get 300 feet into the air and text: I hope the parachute work " will pop up on screen.
But all I've made is this:
And I'm stucked here ( Can I get help?
And, when I'm not in a car and type /dive, I'll get an parachute, get 300 feet into the air and text: I hope the parachute work " will pop up on screen.
But all I've made is this:
Код:
if(strcmp(cmdtext, "/dive", true) == 0) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetVehiclePos(GetPlayerVehicleID(playerid), x, y, z+300);