20.08.2012, 17:36
So if I type /sj then Super jump will activate
then let's say /sjoff then jump will go back to normal.
I've got this script but you must type /jump everytime.
then let's say /sjoff then jump will go back to normal.
I've got this script but you must type /jump everytime.
pawn Код:
if (strcmp("/jump", cmdtext, true, 10) == 0)
{
new Float:SuperJump[3];
GetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]);
SetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]+5);
return 1;
}