[Ajuda] Multiplos comandos
#4

Como o SirRafa disse, й sу saber manipular variбveis cara .
PHP код:

CMD
:carregar(playerid)

{

if(
profissao[playerid] != Caminhoneiro || profissao[playerid] != OutroProff || profissao[playerid] != Petroleiro ) return false;//caso o playerid nгo seja nenhuma das profissхes , simplesmente retorna falso

if(profissao[playerid] == Caminhoneiro){

//funзхes se ele for caminhoneiro EXEMPLO APENAS

}

else if(
profissao[playerid] == OutroProff){

//funзхes se ele for OutroProff  EXEMPLO APENAS

}

else if(
profissao[playerid] == Petroleiro){

//funзхes se ele for petroleiro EXEMPLO APENAS

}

return 
1;


Reply


Messages In This Thread
Multiplos comandos - by FernandoSS - 29.07.2014, 10:46
Re: Multiplos comandos - by Ts3 - 29.07.2014, 11:07
Re: Multiplos comandos - by Nenzittow - 29.07.2014, 11:10
Re: Multiplos comandos - by darkxdll - 29.07.2014, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)