How can i spawn a nrg with cmd
#2

As basic as it gets:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/nrg", cmdtext, true, 4) == 0)
    {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        CreateVehicle(522, X + 2, Y, Z, 0.0, 0, 0, 10);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
How can i spawn a nrg with cmd - by Battlaman - 09.05.2009, 19:36
Re: How can i spawn a nrg with cmd - by Weirdosport - 09.05.2009, 19:40
Re: How can i spawn a nrg with cmd - by MenaceX^ - 09.05.2009, 19:40
Re: How can i spawn a nrg with cmd - by Battlaman - 09.05.2009, 19:45
Re: How can i spawn a nrg with cmd - by Klutty - 09.05.2009, 19:53
Re: How can i spawn a nrg with cmd - by Battlaman - 10.05.2009, 12:07
Re: How can i spawn a nrg with cmd - by MenaceX^ - 10.05.2009, 12:12
Re: How can i spawn a nrg with cmd - by Klutty - 10.05.2009, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)