12.09.2009, 15:12
Hello all you all know thath i am noob scripter but i need to make a cmd for teleporting like when player go to the icon it auto teleport him inside the interior please give me some code
new Icon;
Icon = CreatePickup(model, type, PosX, PosY, PosZ);
if(pickupid == Icon)
{
GameTextForPlayer(playerid,"~g~You teleported to ...",5000,3);
SetPlayerPos(playerid,X,Y,Z);
SetPlayerInterior(playerid,InteriorID);
}