04.04.2013, 11:20
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
But its in Deustch and i aint Deutsch. Is this good?
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;