20.04.2009, 16:41
Im giving it my first go at interiors,
And i have made an island and i am trying to add interiors,
The Information Marker isent showing up outside the door so i cannot enter it,
Is the code i am using right?
Anyone help me please
And i have made an island and i am trying to add interiors,
The Information Marker isent showing up outside the door so i cannot enter it,
Is the code i am using right?
pawn Код:
new interior1;
new interior1exit;
interior1 = CreatePickup(1273, 23, -6177.2075, 1166.3391, 16.3999); // Enter
interior1exit = CreatePickup(1273, 23, -6304.7549, 2031.7727, 372.4020); // Exit
if( pickupid == interior1) {
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,-6307.3765,2031.6348,372.4020);
}
if( pickupid == interior1exit) {
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,-6177.5210,1155.1467,14.8585);
}