Help!!!
#1

need help ok here im going to explain it

i want a arrow by the lspd door and when you walk to the arrow you have to press enter to go into the lspd and then i you have to go to the door and press enter button again to exit
Reply
#2

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;
}
Reply
#3

thanks
Reply
#4

need hel pi made some enter and exit cmd to lspd but when you exit it like you lagg and you cnd see the road are anything is there anyway to fix it
Reply
#5

When you leave police deparment:

Code:
SetPlayerInterior(playerid, 0);
Reply
#6

add it in in gamemodeinit
Reply
#7

At the the end of the Exit command.
Reply
#8

You already have two topics for this same topical discussion...

https://sampforum.blast.hk/showthread.php?tid=233968
https://sampforum.blast.hk/showthread.php?tid=234265

I have merged them, please don't make so many topics for the same thing!
Reply
#9

one mroe thing what samp wiki i try to make a 3d text buti cnt do it proper can u make me one with

Type /enter

1553.3136,-1675.7379,16.1953
Reply
#10

Quote:
Originally Posted by Notorious29
View Post
one mroe thing what samp wiki i try to make a 3d text buti cnt do it proper can u make me one with

Type /enter

1553.3136,-1675.7379,16.1953
Try this one. Put it OnGameModeInit

Create3DTextLabel("Use /enter to get inside\nLos Santos Police Department.", -1, 1555.4861, -1675.3259, 16.1953, 20.0, 0, 1);

And, if you want one inside, here it is:

Create3DTextLabel("Use /exit to get outside\nLos Santos Police Department.", -1, 246.7955, 62.3329, 1003.6406, 20.0, 0, 1);

If you want to change the distance view ( The distance from which you can see the text ), modify the "20.0" to your value.

And if you want to see the text through objects, modify the last '1' into '0'. 1 means you can`t see the 3DText through objects and 0 means you can see them through whatever objects.
Reply
#11

thanks

yy aren't mysql local/phpmyadmin aren't working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)