How to make somewan jump higher/run faster and some other problems
#7

Quote:
Originally Posted by nilanjay
Посмотреть сообщение
hmm show the code of the cmd
this is the code for the Jump : ( they are at the bottem of my script that i posted up!)

if (!strcmp("/maximumstrength", cmdtext))
{
SendClientMessage(playerid, BLUE, "NANO SUIT: Maximum Stength!");
SetPlayerVelocity(playerid,0.0,0.0,1.5);
return 1;
}
return 0;
}

and the code for the speed : (but its not what i wanted.. it just spawns you some feet forward and it kills you)

f (!strcmp("/maximumspeed", cmdtext))
{
SendClientMessage(playerid, BLUE, "NANO SUIT: Maximum Speed!");
SetPlayerVelocity(playerid,0.0,1.0,0.0);
return 1;
}

but this doesnt do what i want.. i want poeple to be able to jump ighe when they move wwhen pressing a button on their keyboard. by typing this command its like a slap command >.<! and the speed command just puts you a few feet forward and kills you.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)