Race start line
#1

I have made a command for a race and you get teleported to 8 track stadium.
Here is my code so far.

pawn Код:
if((strcmp("/race", cmdtext, true) == 0) || (strcmp("/race", cmdtext, true) == 0))
    {
        SetPlayerInterior(playerid,7);
        SendClientMessage(playerid, 0x00FFFFAA, "You've been teleported to Race.");
        new vehicleid = CreateVehicle(415,-1395.95,-208.19,1051.17, 180.0, -1, -1, -1);
        LinkVehicleToInterior(vehicleid,7);
        PutPlayerInVehicle(playerid,vehicleid, 0);
        return 1;
    }
I want to add a race start line, or something obvious so people know it is a race start line around here. Can anybody help me and tell me what to add/do?
Код:
-1394.54,-243.56,1043.20
Reply
#2

You have to use a map editor.
Reply
#3

Quote:
Originally Posted by XoX
Посмотреть сообщение
You have to use a map editor.
Can't you just give me a object that I can add into the script?
Reply
#4

Simply try it. It's not hard.
Reply
#5

Never mind, I have added a checkpoint
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)