Ajuda
#9

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/Rampa",true)==0)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        new State = GetPlayerState(playerid);
        if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
        {
            GameTextForPlayer(playerid,"Bem-Vindo(a) a Rampa!",4000,6);
            LinkVehicleToInterior(vehicleid,0);
            SetPlayerInterior(playerid,0);
            return SetVehiclePos(vehicleid,2158.4670410156 1042.2408447266 2267.8205566406);
        }
        SetPlayerPos(playerid,2158.4670410156 1042.2408447266 2267.8205566406);
        SetPlayerInterior(playerid,0);
        GameTextForPlayer(playerid,"Bem-Vindo(a) a Rampa!",4000,6);
        return 1;
    }
    return 0;
}
faзa assim.
Reply


Messages In This Thread
Ajuda - by seykan - 17.02.2010, 03:02
Re: Ajuda - by andmeida10 - 17.02.2010, 07:27
Re: Ajuda - by OxygenBR - 17.02.2010, 07:33
Re: Ajuda - by andmeida10 - 17.02.2010, 07:50
Re: Ajuda - by seykan - 17.02.2010, 12:54
Re: Ajuda - by andmeida10 - 17.02.2010, 13:02
Re: Ajuda - by Lucas_Brasil - 17.02.2010, 13:06
Re: Ajuda - by seykan - 17.02.2010, 13:07
Re: Ajuda - by speliarmos - 17.02.2010, 13:19
Re: Ajuda - by seykan - 17.02.2010, 13:23

Forum Jump:


Users browsing this thread: 3 Guest(s)