How to find added interior In game?
#1

https://sampforum.blast.hk/showthread.php?tid=190183 I just added that to my Gamemode and started the server how can i find it? I dont have the latest streamer..I dont know how to install it proberly..So tell me how to find the interior ingame? Is it /gotoint? if it is how i find the code?
Reply
#2

i just got 1 coords from 1 of the object try to add this command
so you can tp there use /airport to tp there
pawn Код:
if (strcmp("/airport", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, -1887.64404297,51.92456818,1054.75976562);
        SetPlayerInterior(playerid, 8);
        return 1;
    }
PS: if you are using CreateObject you dont need streamer you only need to use streamer if you use
CreateDynamicObject
Reply
#3

Pawno says that command to error.. "Invalid function or declaration"
Reply
#4

try again, i edited my comment
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)