[Pedido] Verificar se veiculo estб carregado!
#5

Quote:
Originally Posted by DarkZin
Посмотреть сообщение
QUE PORRA Й ESSA?
kkkkkkkkkkkkkkkkkkkkkk rachei


Quote:
Originally Posted by iLordGG
Посмотреть сообщение
Код:
new CarregadoCam[MAX_PLAYERS];

public OnPlayerConnect( playerid )
{

CarregadoCam[playerid] = 0;

}


public OnPlayerCommandText(playerid,cmdtext[])
{    
if(!strcmp(cmdtext, "/carregar", true))
    {
if(Carregado[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "* Seu Caminhao ja estб carregado!");
// Resto do comando aqui
CarregadoCam[playerid] = 1;
}

    if(!strcmp(cmdtext, "/descarregar", true))
    {
if(CarregadoCam[playerid] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "* Seu Caminhгo nгo estб carregado!);
// oq vai dentro do comando de descarregar aqui...
CarregadoCam[playerid] = 0;
}
Essa й uma base, onde 0 - Caminhгo descarregado e 1- Caminhгo carregado
Acho que ele quer verificar se o trailer estб no caminhгo
Reply


Messages In This Thread
Verificar se veiculo estб carregado! - by DarkZin - 22.12.2016, 21:33
Respuesta: Verificar se veiculo estб carregado! - by RazorGuigo - 22.12.2016, 21:43
Re: Respuesta: Verificar se veiculo estб carregado! - by DarkZin - 22.12.2016, 22:50
Re: Verificar se veiculo estб carregado! - by iLordGG - 22.12.2016, 23:51
Re: Respuesta: Verificar se veiculo estб carregado! - by HeisenGiromB - 23.12.2016, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)