SA-MP Forums Archive
LIl question - 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: LIl question (/showthread.php?tid=250520)



LIl question - tanush - 23.04.2011

How can i make if player types an command near /infernus like /inf /infe etc, how can i make an infernus spawn like in stunt servers


Re: LIl question - Unknown123 - 23.04.2011

pawn Код:
commandthing (/infernus)
{
    if(IsPlayerInRangeOfPoint(playerid, RADIUS, X, Y, Z))
    {
        //Create veh here
     }
}



Respuesta: LIl question - Alex_Obando - 23.04.2011

Use: if(IsPlayerInRangePoint)


Re: LIl question - tanush - 23.04.2011

i mean like i created an cmd called /infernus that will spwn an infernus. can i make if player types /inf, an infernus will spawn


Re: LIl question - xir - 23.04.2011

You mean 2 command doing the same thing?

pawn Код:
CMD:inf(playerid,params[]) return cmd_infernus(playerid,params);



Re: LIl question - tanush - 25.04.2011

ok open up fsdebug and do /v inf, an infernus will spawn. if u do something like /v fernus. an infernus will spawn again. how u do that (they have these in stunt server)