09.11.2012, 20:12
hAi i am getting Unknown Command after typing the code, it do all what i wanted it to do, but it show "Unknown command" at last. I use YCMD
code:
code:
pawn Код:
YCMD:kill(playerid, params[], help)
{
new s[500];
new oscore;
oscore = GetPlayerScore(playerid);
SetPlayerScore(playerid,oscore -1);
SetPlayerHealth(playerid, -1);
format(s, sizeof(s),"{C0C0C0}[SERVER] {FFFFFF}You have commited suscide using /kill. You will first be able to spawn in next round!");
SendClientMessage(playerid, -1, s);
return 1;
}