12.09.2009, 15:55
Icon = Pickup?
Try:
In your script top:
In OnGameModeInit (Fs? = OnFilterScriptInit):
In OnPlayerPickUpPickup:
Try:
In your script top:
pawn Код:
new Icon;
pawn Код:
Icon = CreatePickup(model, type, PosX, PosY, PosZ);
pawn Код:
if(pickupid == Icon)
{
GameTextForPlayer(playerid,"~g~You teleported to ...",5000,3);
SetPlayerPos(playerid,X,Y,Z);
SetPlayerInterior(playerid,InteriorID);
}