30.12.2012, 13:46
Quote:
Thank you man! +rep for you,
One thing.. I have a command that must be for admins level 1.. But normal players can do that to.. pawn Код:
|
pawn Код:
CMD:spss(playerid, params[])
{
if(PlayerAcc[playerid][Log] == 0) return SendClientMessage(playerid, COLOR_ORANGE, "You are not logged in, please login first.");
if(PlayerAcc[playerid][Admin] == 0) return SendClientMessage(playerid,-1,"Not admin");
GetPlayerVelocity(playerid, x1, y1, z1);
SetPlayerVelocity(playerid, x1, y1, z1+ 0.3);
SendClientMessage(playerid, COLOR_YELLOW, "You have succesfully enabled super jump. /spsss to turn it off."); jumper[playerid]=true;
return 1;
}