17.03.2013, 07:01
pawn Code:
if(strcmp(cmd, "/jetpack", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new tmp[256], forplayerid;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SetPlayerSpecialAction(playerid, 2);
return 1;
}
forplayerid = strval(tmp);
SetPlayerSpecialAction(forplayerid, 2);
}
return 1;
}