addsiren 0.3.7 help
#3

PHP код:
public onCreateFactionVehicle(factionidmodelFloat:XFloat:YFloat:ZFloat:Anglec1c2) {
    new 
id mysql_insert_id();
    new 
msg[128];
    
format(msgsizeof(msg), "* Faction Vehicle SQL ID: %d"id);
    
ABroadcast(X11_YELLOWmsgEAdminFlags_FactionAdmin);
        if(
factionid == 1)
       { 
          new 
carid CreateVehicle(model,X,Y,Z,Angle,c1,c2,DEF_RESPAWN_DELAY,1); 
      }
       else 
      { 
          new 
carid CreateVehicle(model,X,Y,Z,Angle,c1,c2,DEF_RESPAWN_DELAY,0); 
      }

I think is how you do it...
Reply


Messages In This Thread
addsiren 0.3.7 help - by Puff - 09.09.2017, 20:48
Re: addsiren 0.3.7 help - by Kane - 09.09.2017, 20:50
Re: addsiren 0.3.7 help - by pepetorres194 - 09.09.2017, 22:24
Re: addsiren 0.3.7 help - by Puff - 10.09.2017, 05:25
Re: addsiren 0.3.7 help - by FuNkYTheGreat - 10.09.2017, 06:27
Re: addsiren 0.3.7 help - by Puff - 10.09.2017, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)