10.02.2017, 16:15
comand to set player jump?
here
here
PHP код:
CMD:setjump(playerid, params[])
{
if(pInfo[playerid][pAdmin] > 0 )
{
new id;
if(sscanf(params, "d", id))
{
SCM(playerid, -1, "Usage: /setjump [id]");
}
else
{
if(icanjump[id] == false)
{
icanjump[id] == true;
SCM(playerid, -1,"You have set id: ... can be more jump");
}
else if(icanjump[id] == true)
{
icanjump[id] == false;
SCM(playerid, -1,"You have set id: ... can not be more jump");
}
}
}
return 1;
}