16.02.2012, 15:53
Fixed it, but why I added a command in "PPC_PlayerCommands"
and it dont work, is this command ment to work?
COMMAND:acmds(playerid, params[])
{
if (APlayerData[playerid][PlayerLevel] >= 1)
{
SendClientMessage(playerid, 0xFFFFFFFF, "NOTE; Depending on your admin level, some may not be available to you.");
SendClientMessage(playerid, 0xFFFFFFFF, "/cash (AMOUNT), /givecash (PLAYERID)(AMOUNT), /setscore (PLAYERID)(SCORE), /setlevel (ID)(AMOUNT)");
SendClientMessage(playerid, 0xFFFFFFFF, "/createhouse(Obvious), /delhouse(Obvious), /goto(ID), /get(ID)");
}
else {
SendClientMessage(playerid, 0xFFFFFFFF, "You are not an admin, Therefore cannot view Admin Commands.");
}
return 1;
}
and it dont work, is this command ment to work?
COMMAND:acmds(playerid, params[])
{
if (APlayerData[playerid][PlayerLevel] >= 1)
{
SendClientMessage(playerid, 0xFFFFFFFF, "NOTE; Depending on your admin level, some may not be available to you.");
SendClientMessage(playerid, 0xFFFFFFFF, "/cash (AMOUNT), /givecash (PLAYERID)(AMOUNT), /setscore (PLAYERID)(SCORE), /setlevel (ID)(AMOUNT)");
SendClientMessage(playerid, 0xFFFFFFFF, "/createhouse(Obvious), /delhouse(Obvious), /goto(ID), /get(ID)");
}
else {
SendClientMessage(playerid, 0xFFFFFFFF, "You are not an admin, Therefore cannot view Admin Commands.");
}
return 1;
}