01.03.2014, 22:40
Because pName is already declared in the global scope.
pawn Код:
CMD:jetpack(playerid, params[])
{
if(User[playerid][USER_ADMIN] >= 4)
{
new string[64], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has spawned jetpack", name);
SendClientMessageToAll(-1, string);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
}
return 1;
}