SA-MP Forums Archive
Race start line - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Race start line (/showthread.php?tid=225332)



Race start line - Beginnercoder - 13.02.2011

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



AW: Race start line - XoX - 13.02.2011

You have to use a map editor.


Re: AW: Race start line - Beginnercoder - 13.02.2011

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?


AW: Race start line - XoX - 13.02.2011

Simply try it. It's not hard.


Re: Race start line - Beginnercoder - 13.02.2011

Never mind, I have added a checkpoint