Is this possible
#1

Is there a command were if i type in "/dive" or sommin like that i would go up really high and have a parachute then i can free fall down then open parachute..
Reply
#2

There is, you need to create it.
Reply
#3

Quote:
Originally Posted by Darnell
Посмотреть сообщение
There is, you need to create it.
i dont know how to... :/
Reply
#4

SetPlayerPos to their current position + like 100 to their Z, and then GivePlayerWeapon parachute.
Reply
#5

PHP код:
new Float:x,Float:y,Float:z;

public 
OnPlayerCommandText(playerid,cmdtext[])
{
    if(!
strcmp("/dive",cmdtext,true))
    {
        
GetPlayerPos(playerid,x,y,z);
        
SetPlayerPos(playerid,x,y,z+1000.0);
        
GivePlayerWeapon(playerid,46,1);
        
SendClientMessage(playerid,0x00FF00FF,"You are diving!");
        
GameTextForPlayer(playerid,"~b~dive!~n~~g~dive!~n~~r~Dive!",3000,3);
        return 
1;
    }
    return 
0;

Reply
#6

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
PHP код:
new Float:x,Float:y,Float:z;
public 
OnPlayerCommandText(playerid,cmdtext[])
{
    if(!
strcmp("/dive",cmdtext,true))
    {
        
GetPlayerPos(playerid,x,y,z);
        
SetPlayerPos(playerid,x,y,z+1000.0);
        
GivePlayerWeapon(playerid,46,1);
        
SendClientMessage(playerid,0x00FF00FF,"You are diving!");
        
GameTextForPlayer(playerid,"~b~dive!~n~~g~dive!~n~~r~Dive!",3000,3);
        return 
1;
    }
    return 
0;

CHEERS DUDE!!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)