20.04.2012, 16:33
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.
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.