SA-MP Forums Archive
Hitman car's - 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: Hitman car's (/showthread.php?tid=428037)



Hitman car's - Lisaax - 04.04.2013

Hey,
I wanna put some cars for hitman at their HQ. Like LSPD got LSPD cars around the lspd HQ.
Now i wanna put cars around HQ of hitman. How do i put them there?:$$
or a cmd like CMD:Createfvehicle ( Creating cars for factions )

Not a hero in scripting btw.


EDIT: Found a CMD

Код:
ocmd:createfcar(playerid,params[]){	if(isPlayerAnAdmin(playerid,6)) //Mьsst ihr nach eurer Adminabfrage machen	{	    new fraktid;	    new mid;	    if(sscanf(params,"ii",fraktid,mid)) //Wenn der z.b. nur "/createfcar" eingibt		{			SendClientMessage(playerid,CMD,"/createfcar [Frakt-ID][Model-ID]"); //Mьsst ihr fьr euren Server дndern			SendClientMessage(playerid,BLAU,"Fraktion 1:SAPD");			SendClientMessage(playerid,BLAU,"Fraktion 2:Grove Street");			SendClientMessage(playerid,BLAU,"Fraktion 3:Rollin' Heigths Ballas");			SendClientMessage(playerid,BLAU,"Fraktion 4:Varrios Los Aztecas");			SendClientMessage(playerid,BLAU,"Fraktion 5:Los Santos Vagos");			SendClientMessage(playerid,BLAU,"Fraktion 6:Army");		}		else		{		    if(fraktid < 1 || fraktid > 6)return SendClientMessage(playerid,ROT,"Frakt-ID kann nicht ьber 6 oder unter 1 sein.");		    if(mid < 400 || mid > 611)return SendClientMessage(playerid,ROT,"Model-ID kann nicht ьber 611 oder unter 400 sein."); //Da die Vehicles nur von 400-611 gehen		    CreateFCar(playerid,fraktid,mid); //wird gleich gezeigt was das ist...		}	}	return 1;
But its in Deustch and i aint Deutsch. Is this good?


Re: Hitman car's - DaRk_RaiN - 04.04.2013

Use this tool to add vehicles.
https://sampforum.blast.hk/showthread.php?tid=139409