29.05.2013, 14:57
Hmm, why don't you let him enter and remove him then?
Like, he is entering a mod shop and the callback is called
Like, he is entering a mod shop and the callback is called
pawn Code:
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
if(enterexit == 1) // If enterexit is 1, this means they are entering
{
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z); // Change the coordinates
SetPlayerInterior(playerid, 0); // Back to the normal interior
}
return 1;
}