07.05.2010, 06:59
I think that he wants a when a player enters picks up the pickup, it teleports him.So here's the code:
pawn Код:
new teleportpk;
teleportpk = CreatePickup(356,3,X,Y,Z,-1);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==teleportpk)
{
SetPlayerPos(playerid,X,Y,Z);
}
return 1;
}