[Ajuda] Criando Pickup com interior
#4

Exemplo:
pawn Код:
//OnGameModeInit:
AddStaticPickup(MODEL,TYPE,X,Y,Z,-1);
//OnPlayerKeyStateChange:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
    if(IsPlayerInRangeOfPoint(playerid,2.0,X,Y,Z)) {
        SetPlayerPos(playerid,intX,intY,intZ);
        SetPlayerInterior(playerid,intID);
    }
}
Nada complexo..
Reply


Messages In This Thread
Criando Pickup com interior - by iStronG - 15.03.2013, 22:10
Respuesta: Criando Pickup com interior - by Parka - 15.03.2013, 22:15
Re: Criando Pickup com interior - by iStronG - 15.03.2013, 22:21
Re: Criando Pickup com interior - by HumildadeAgain - 15.03.2013, 22:25
Re: Criando Pickup com interior - by iStronG - 15.03.2013, 22:36
Re: Criando Pickup com interior - by HumildadeAgain - 15.03.2013, 22:51

Forum Jump:


Users browsing this thread: 1 Guest(s)