Help with creatng something.
#1

I am wondering, how do I create a tollbooth, with it say, you're on the tollbooth, and to get through it, you type /paytoll, but it don't open, you go straight over to the other side of the tollbooth?

EG.

Red County RP used to have it:

An I icon is placed, and when you drive over the top, it says use /paytoll to get to the other side.

And when you /paytoll you TP to the other side of the toll..?

If that made sense.

Thankyou.
Reply
#2

pawn Код:
if(strcmp(cmd, "/paytoll", true)== 0)
    {
        SetPlayerPos(playerid, x, y, z);
        return 1;
    }
Simple as that to tp a player. You can get more advanced like IsPlayerInRangeOfPoint to make it so they can only do it if they are in range. But you have to replace x, y, z with the coords you want to tp the player to.
Reply
#3

But your also going to have to use "SetVehiclePos" and stuff like that. And of course create the map for the tollbooth.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)