[AJuda] Gm Mata Mata
#1

faзo cmd do jetpack e o jetpack aparece e some questao de 3sec

PHP код:
if(strcmp("/vjetpack"cmdtexttrue) == 0) { 
if(
CallRemoteFunction("GetPlayerVIPLevel","i",playerid) < 2) return SendClientMessage(playerid,COLOUR_ERRO,StringTable[8]); 
if(
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOUR_ERRO,"Saia do carro para usar jetpack!"); 
if(
Arena[playerid] == 1) return SendClientMessage(playeridCOLOUR_ERROStringTable[0]); 
if(
NoEvento[playerid] == && EventoAtivo == 1) return SendClientMessage(playeridCOLOUR_ERRO"{FF0000}|ERRO| » {FFFFFF}Vocк estб em um evento. Para sair: {FF0000}/sair"); 
SetPlayerSpecialAction(playerid2); 
CallRemoteFunction("CMDMessageToVips","ii",playerid,"VJETPACK"); 
PlayerPlaySound(playerid,1053,0.0,0.0,0.0); 
SendClientMessage(playeridCOLOUR_INFORMACAO"Aproveite sua Jetpack!"); 
return 
1

Reply
#2

PHP код:
if(CallRemoteFunction("GetPlayerVIPLevel","i",playerid) < 2) return SendClientMessage(playerid,COLOUR_ERRO,StringTable[8]); 
CallRemoteFunction("CMDMessageToVips","ii",playerid,"VJETPACK"); 
?

Tenta assim:

PHP код:
if(strcmp(cmdtext"/vjetpack"true) == 0)
    {
        if(
CallRemoteFunction("GetPlayerVIPLevel""i"playerid) < 2) return SendClientMessage(playeridCOLOUR_ERROStringTable[8]);
        if(
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOUR_ERRO,"Saia do carro para usar jetpack!");
        if(
Arena[playerid] == 1) return SendClientMessage(playeridCOLOUR_ERROStringTable[0]);
        if(
NoEvento[playerid] == && EventoAtivo == 1) return SendClientMessage(playeridCOLOUR_ERRO"{FF0000}|ERRO| » {FFFFFF}Vocк estб em um evento. Para sair: {FF0000}/sair");
        
SetPlayerSpecialAction(playerid2);
        
CallRemoteFunction("CMDMessageToVips""ii"playerid"VJETPACK");
        
PlayerPlaySound(playerid10530.00.00.0);
        
SendClientMessage(playeridCOLOUR_INFORMACAO"Aproveite sua Jetpack!");
        return 
1;
    } 
Reply
#3

Obrigado


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)