15.03.2013, 22:25
Exemplo:
Nada complexo..
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);
}
}