[Ajuda] comando
#9

Testa! eu refiz o cуdigo porque nгo esse cуdigo que vocк mandou me embaralhou todo euaheuaehae.

PHP код:
if(strcmp(cmd,"/blindarcarro",true) == 0)
{
    if(
GetPlayerState(playerid) != PLAYER_STATE_DRIVER)
        return 
SendClientMessage(playerid0xFF0000FF"Voce deve estar em um veiculo como motorista.");
    if(
vBlindagem[GetPlayerVehicleID(playerid)] >= 100)
        return 
SendClientMessage(playerid,0xFF0000FF,"Seu veiculo ja esta blindado.");
    if(!
IsPlayerInRangeOfPoint(playerid102480.3442, -1460.777624.0125))
        return 
SendClientMessage(playerid0xFF0000FF"Vocк nгo esta em um local de blindagem.");
    if(
GetPlayerMoneyEx(playerid) > 3000){
        
ShowPlayerDialog(playeridDIALOG_BLINDAGEMDIALOG_STYLE_MSGBOX"Blindar carro""Deseja blindar seu carro por R$3000?""Aceitar""Cancelar");
    }else{
        
SendClientMessage(playerid0xFF0000FF"Vocк nгo tem dinheiro para colocar a blindagem");
    }
    return 
1;

Estб dando erro de compilaзгo ou erro na hora de apertar H no jogo?
Reply


Messages In This Thread
comando - by AssasinoLM - 20.02.2015, 22:47
Re: comando - by ReDKiiL - 20.02.2015, 22:50
Re: comando - by AssasinoLM - 20.02.2015, 22:54
Re: comando - by ReDKiiL - 20.02.2015, 23:00
Re: comando - by AssasinoLM - 20.02.2015, 23:17
Re: comando - by ReDKiiL - 20.02.2015, 23:20
Re: comando - by AssasinoLM - 20.02.2015, 23:21
Re: comando - by PT - 20.02.2015, 23:29
Re: comando - by ReDKiiL - 20.02.2015, 23:29
Re: comando - by AssasinoLM - 20.02.2015, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)