[Ajuda]Comando bugado
#4

PHP код:
if(strcmp(cmd"/liberarcarro"true) == 0)
{
    
tmp strtok(cmdtextidx);
    if(!
strlen(tmp)) return SendClientMessage(playeridCOLOR_GRAD2"USO: /liberarcarro [carid]");
    if(
IsAGang(playerid)) return SendClientMessage(playeridCOLOR_RED"[Erro] Vocк nгo estб autorizado a usar este comando.");
    new 
carid strval(tmp);
    new 
engine,lights,alarm,doors,bonnet,boot,objective;
    
GetVehicleParamsEx(carid,engine,lights,alarm,doors,bonnet,boot,objective);
    
SetVehicleParamsEx(carid,1,lights,alarm,doors,bonnet,boot,objective);
    
VehicleInfo[carid][vPRFLock] = 0;
    
SendClientMessage(playeridCOLOR_WHITE"[Info] Veнculo liberado.");
    return 
1;

Reply


Messages In This Thread
[Ajuda]Comando bugado - by willian Franco - 29.06.2011, 17:36
Re: [Ajuda]Comando bugado - by Shadoww5 - 29.06.2011, 17:49
Re: [Ajuda]Comando bugado - by willian Franco - 29.06.2011, 18:04
Re: [Ajuda]Comando bugado - by Shadoww5 - 29.06.2011, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)