[AJUDA] Erro Quando O Player Executa Comando!!
#2

pawn Код:
if (strcmp(cmdtext, "/kill", true)==0)
    {
new pName[30];
new string[30];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s FOI PRA COVA", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
SendClientMessage(playerid,0x0000FFAA,"Vocк se matou!");
SetPlayerHealth(playerid, 0.00);
MyDeaths[playerid]++;
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
GivePlayerMoney(playerid, -1000);
return 1;
 }
pawn Код:
if (strcmp("/mudar", cmdtext, true, 10) == 0)
    {
    new Nome[MAX_PLAYER_NAME];
    new stringx[256];
    GetPlayerName(playerid,Nome,sizeof Nome);
    format(stringx, sizeof stringx, "%s Vai mudar de gang | Comando /mudar ",Nome);
    SendClientMessageToAll(0xFF0000AA,stringx);
    ForceClassSelection(playerid);
    SetPlayerHealth(playerid, 0);
    return 1;
}
tenta nй :c
Reply


Messages In This Thread
[AJUDA] Erro Quando O Player Executa Comando!! - by [CSI]DarkSkull_BR - 10.03.2011, 03:22
Re: [AJUDA] Erro Quando O Player Executa Comando!! - by JonathanFeitosa - 10.03.2011, 09:17
Re: [AJUDA] Erro Quando O Player Executa Comando!! - by [CSI]DarkSkull_BR - 10.03.2011, 18:27
Re: [AJUDA] Erro Quando O Player Executa Comando!! - by JonathanFeitosa - 10.03.2011, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)