[help]with teleport
#3

Icon = Pickup?

Try:

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


Messages In This Thread
[help]with teleport - by krisko_g1 - 12.09.2009, 15:12
Re: [help]with teleport - by Correlli - 12.09.2009, 15:46
Re: [help]with teleport - by LuxurioN™ - 12.09.2009, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)