02.03.2011, 20:53
pawn Code:
CreatePickup(1318, 1, Float:x, Float:y, Float:z); // OnGameModeInit
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 3, Float:x, Float:y, Float:z))
{
SetPlayerPos(playerid, Float:intx, Float:inty, Float:intz);
SetPlayerInterior(playerid, interiorid);
}
return 1;
}