[Ajuda] Erros em um comando.
#5

Vocк Definiu que policial e 0 mais voce esta usando POLICIAl no codigo


Para poupar linhas ao inves de colocar policial coloca 0


coloca assim

CMD:dp(playerid)
{
if(Profissao[playerid] == 0)
{
SetPlayerPos(playerid,1384.2577,10.8203,174.6833);
SendClientMessage(playerid, CINZA, "SERVER: Olб, Vocк й um policial.");
new nome[MAX_PLAYER_NAME], stringnome[200];
GetPlayerName(playerid, nome, sizeof(nome));
format(stringnome, sizeof(stringnome), "SERVER: %s estб trabalhando.",nome);
SendClientMessageToAll(AMARELO, stringnome);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 22, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 41, 1000);
GivePlayerWeapon(playerid, 45, 1000);
GivePlayerWeapon(playerid, 46, 1000);
}
else
{
SendClientMessage(playerid,-1,"Vocк nгo й de nenhuma organizaзгo militar");
}
return 1;
}
Reply


Messages In This Thread
Erros em um comando. - by Gabriel Santana - 18.08.2012, 20:05
Re: Erros em um comando. - by Scripter Fodastico - 18.08.2012, 20:13
Re: Erros em um comando. - by Gabriel Santana - 18.08.2012, 20:15
Re: Erros em um comando. - by R3S1D3NT1 - 18.08.2012, 21:50
Re: Erros em um comando. - by gabrielloko157 - 18.08.2012, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)