SA-MP Forums Archive
[HELP] How do you script a Car Spawner? - 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)
+--- Thread: [HELP] How do you script a Car Spawner? (/showthread.php?tid=401087)



[HELP] How do you script a Car Spawner? - DJTunes - 21.12.2012

Hello, I've already scripted one command into my Game-Mode, that command is "/kill".
What I want to know what would go exactly after this?:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/kill", cmdtext, true, 5) == 0)
    {
        SetPlayerHealth(playerid, 0.0);
        return 1;
    }
 return 0;
 }



Re: [HELP] How do you script a Car Spawner? - rbush12 - 21.12.2012

What do you mean??

Do you want another command after??


Re: [HELP] How do you script a Car Spawner? - DaRk_RaiN - 21.12.2012

The ones you need?srsly though this isn't worth a topic.


Re: [HELP] How do you script a Car Spawner? - DJTunes - 21.12.2012

Yeah. I want to know how to make a car spawner, like there's commands like "/car [Car Name]" and then it will spawn you a car. I'm wanting to know how to make a command to spawn all/any cars.