[Ajuda] Com CMD:super
#8

O player recebe uma mensagem que nгo foi para o super ? Ou o carro nгo й teleportado.

Tenta:

PHP код:
CMD:super(playeridparams[])
{
    
#pragma unused params
    
if(IsPlayerInAnyVehicle(playerid))
    {
        
SetVehiclePosGetPlayerVehicleIDplayerid ), 2068.9102,-1391.3558,1136.8787 );
        
SetVehicleZAngleGetPlayerVehicleIDplayerid ), 0.393166 );
    }
    else
    {
        
SetPlayerPos(playerid2068.9102,-1391.3558,1136.8787);
        
SetPlayerFacingAngle(playerid0.393166);
        
SetPlayerInterior(playerid,0);
        new 
pname[MAX_PLAYER_NAME], string[50];
        
GetPlayerNameplayeridpnameMAX_PLAYER_NAME );
        
formatstringsizeof string "%s {FFFFFF}Foi Para o Super [{FFFF00}/super {FFFFFF}]"pname );
        
SendClientMessageToAll0xFFFF00AAstring );
    }
    return 
1;

Reply


Messages In This Thread
[Ajuda] Com CMD:super - by ApolloRJ - 20.05.2011, 21:57
Re: [Ajuda] Com CMD:super - by TheGarfield - 20.05.2011, 22:07
Re: [Ajuda] Com CMD:super - by ApolloRJ - 20.05.2011, 22:13
Re: [Ajuda] Com CMD:super - by Shadoww5 - 21.05.2011, 00:35
Re: [Ajuda] Com CMD:super - by Nobiin - 21.05.2011, 00:51
Re: [Ajuda] Com CMD:super - by TheGarfield - 21.05.2011, 00:57
Re: [Ajuda] Com CMD:super - by ApolloRJ - 21.05.2011, 14:13
Re: [Ajuda] Com CMD:super - by Shadoww5 - 21.05.2011, 14:30
Re: [Ajuda] Com CMD:super - by ApolloRJ - 21.05.2011, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)