[AJUDA] Leiam Aqui Por Favor :D
#1

PHP код:
    if(strcmp(cmdtext,"/drift",true)==0)
    {
     new 
pname[MAX_PLAYER_NAME];
      new 
string [125];
       
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
    new 
vehicleid GetPlayerVehicleID(playerid);
    new 
State GetPlayerState(playerid);
    if(
IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
    {
    
GameTextForPlayer(playerid,"Bem Vindo A Pista De Drift",4000,6);
    
LinkVehicleToInterior(vehicleid,0);
    
SetPlayerInterior(playerid,0);
    return 
SetVehiclePos(vehicleid,-306.6964,1532.6012,75.3594);
    }
    
SetPlayerPos(playerid,-306.6964,1532.6012,75.3594);
    
SetPlayerInterior(playerid,0);
    
GameTextForPlayer(playerid,"Bem Vindo A Pista De Drift",4000,6);
    
format(stringsizeof(string), "{FFFF00}[BTDM]{00FFFF} %s Foi Para {FFFFFF}Drift /drift!"pname);
    
SendClientMessageToAll(0x00FFFFFFstring);
    return 
1;
    } 
O Que Devo Mudar Para Que Quando Eu Me Teleportar Usando Um Carro A Mensagem Que Eu Fui Para O Drift Apareca Da Mesma Maneira
Reply
#2

Eu Nгo Sei, Mas Eu Atй Ajudaria Se Vocк Nгo Colocasse Todas As Palavras Na Frase Com A Primeira Letra Em Caixa Alta.
Reply
#3

pawn Код:
if(strcmp(cmdtext,"/drift",true)==0)
    {
     new pname[MAX_PLAYER_NAME];
      new string [125];
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
    new vehicleid = GetPlayerVehicleID(playerid);
    new State = GetPlayerState(playerid);
    if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
    {
    GameTextForPlayer(playerid,"Bem Vindo A Pista De Drift",4000,6);
    LinkVehicleToInterior(vehicleid,0);
    format(string, sizeof(string), "{FFFF00}[BTDM]{00FFFF} %s Foi Para {FFFFFF}Drift /drift!", pname);
    SendClientMessageToAll(0x00FFFFFF, string);
    SetPlayerInterior(playerid,0);
    return SetVehiclePos(vehicleid,-306.6964,1532.6012,75.3594);
    }
    SetPlayerPos(playerid,-306.6964,1532.6012,75.3594);
    SetPlayerInterior(playerid,0);
    GameTextForPlayer(playerid,"Bem Vindo A Pista De Drift",4000,6);
    format(string, sizeof(string), "{FFFF00}[BTDM]{00FFFF} %s Foi Para {FFFFFF}Drift /drift!", pname);
    SendClientMessageToAll(0x00FFFFFF, string);
    return 1;
    }
Reply
#4

PHP код:
    if(strcmp(cmdtext,"/drift",true)==0
    { 
     new 
pname[MAX_PLAYER_NAME]; 
      new 
string [125]; 
       
GetPlayerName(playeridpnameMAX_PLAYER_NAME); 
    new 
vehicleid GetPlayerVehicleID(playerid); 
    new 
State GetPlayerState(playerid); 
    
GameTextForPlayer(playerid,"Bem Vindo A Pista De Drift",4000,6); 
    
format(stringsizeof(string), "{FFFF00}[BTDM]{00FFFF} %s Foi Para {FFFFFF}Drift /drift!"pname); 
    
SendClientMessageToAll(0x00FFFFFFstring); 
    if(
IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER
    { 
    
GameTextForPlayer(playerid,"Bem Vindo A Pista De Drift",4000,6); 
    
LinkVehicleToInterior(vehicleid,0); 
    
SetPlayerInterior(playerid,0); 
    return 
SetVehiclePos(vehicleid,-306.6964,1532.6012,75.3594); 
    } 
    
SetPlayerPos(playerid,-306.6964,1532.6012,75.3594); 
    
SetPlayerInterior(playerid,0); 
    return 
1
    } 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)