How to find added interior In game?
#5

stock FindFreeAttachedObjectSlot(playerid)
{
new index;
while (index < MAX_PLAYER_ATTACHED_OBJECTS && IsPlayerAttachedObjectSlotUsed(playerid, index))
{
index++;
}
if (index == MAX_PLAYER_ATTACHED_OBJECTS) return -1;
return index;
}

if (strcmp("/airport", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, -1887.64404297,51.92456818,1054.75976562);
SetPlayerInterior(playerid, ;
return 1;

}

Am i doing something wrong? Im beginner scripter so :P
Reply


Messages In This Thread
How to find added interior In game? - by Moneymachine - 01.02.2013, 14:30
Re: How to find added interior In game? - by Patrick - 01.02.2013, 14:32
Re: How to find added interior In game? - by Moneymachine - 01.02.2013, 14:59
Re: How to find added interior In game? - by Patrick - 01.02.2013, 15:01
Re: How to find added interior In game? - by Moneymachine - 01.02.2013, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)