[AJUDA] Leiam Aqui Por Favor :D
#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


Messages In This Thread
[AJUDA] Leiam Aqui Por Favor :D - by Jake_Dunlapp - 08.05.2012, 23:34
Re: [AJUDA] Leiam Aqui Por Favor :D - by steki. - 08.05.2012, 23:37
Respuesta: [AJUDA] Leiam Aqui Por Favor :D - by Schocc - 08.05.2012, 23:37
Re: [AJUDA] Leiam Aqui Por Favor :D - by tonisantolia - 09.05.2012, 02:48

Forum Jump:


Users browsing this thread: 3 Guest(s)