[AJUDA]SendClientMessage
#3

Acredito ser assim:

pawn Код:
if(strcmp(cmdtext, "/trabalharpolicia", true) == 0){
{
new nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, nome, sizeof(nome));
if(strcmp(nome,"Tolkien, Mendigo., Tony",false) == 0) //SE O NOME FOR # VAI EXECUTAR
{
SendClientMessage(playerid, COLOR_YELLOW,"Vocк estб trabalhando como Policial.");
pTeam[playerid] = time_polic;
SetPlayerSkin(playerid, 280);
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid, 246.7079,66.2239,1003.6406);
}
if(strcmp(!nome,"Tolkien, Mendigo., Tony",false) == 0)
return SendClientMessage(playerid, COLOR_YELLOW,"Vocк nгo pode ser policial");
}
return 1;
}
return 0;
}
Reply


Messages In This Thread
[AJUDA]SendClientMessage - by Keiichi - 04.06.2011, 14:53
Re: [AJUDA]SendClientMessage - by Shadoww5 - 04.06.2011, 14:59
Re: [AJUDA]SendClientMessage - by Pedraum - 04.06.2011, 15:01
Re: [AJUDA]SendClientMessage - by Shadoww5 - 04.06.2011, 15:05
Re: [AJUDA]SendClientMessage - by Pedraum - 04.06.2011, 15:19
Re: [AJUDA]SendClientMessage - by Shadoww5 - 04.06.2011, 15:21
Re: [AJUDA]SendClientMessage - by Keiichi - 04.06.2011, 15:23
Re: [AJUDA]SendClientMessage - by Shadoww5 - 04.06.2011, 15:32
Re: [AJUDA]SendClientMessage - by Keiichi - 04.06.2011, 15:36
Re: [AJUDA]SendClientMessage - by Keiichi - 04.06.2011, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)