SA-MP Forums Archive
Need the help of Scripter that understand in Gang Car ownership - 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: Need the help of Scripter that understand in Gang Car ownership (/showthread.php?tid=127101)



Need the help of Scripter that understand in Gang Car ownership - Karl115 - 11.02.2010

Need a scripter that can make me 3 cars for each gang that only that type of friction can drive the car. If Not at least rental cars.. thanks allot.. who ever can help me with some thing. Ill be back in few hours i gtg sleep see posts tomorrow. MSN: khibs@hotmail.com


Re: Need the help of Scripter that understand in Gang Car ownership - [MK]Soprano - 17.03.2010

hah and i need that

I try all carownerships but all are buged

Did you find ?


Re: Need the help of Scripter that understand in Gang Car ownership - Deat_Itself - 17.03.2010

OnGameModeinit

gangvehicle1 = CreateVehicle..

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if(newstate == PLAYER_STATE_DRIVER)
  {
   new Vehicle = GetPlayerVehicleID(playerid);
   if(Vehicle == gangvehicle1 && /*your team id that u doesnt let them to enter in that vehicle */)
   {
      RemovePlayerFromVehicle(playerid);
      SendClientMessage(playerid, COLOR_BRIGHTRED, "This Vehicle is only reserved for another gang");
     }
}
}



Re: Need the help of Scripter that understand in Gang Car ownership - [MK]Soprano - 17.03.2010

Seif Thanks for reply

I try your carownership and its so good but how to make to car not disapeard when player left the server ?

Thanks




Re: Need the help of Scripter that understand in Gang Car ownership - Deat_Itself - 17.03.2010

Quote:
Originally Posted by [MK
Soprano ]
Seif Thanks for reply

I try your carownership and its so good but how to make to car not disapeard when player left the server ?

Thanks

Iam Saif not Seif btw the car doesnt removes if you have putted its text in ongamemodeinit or onfilterscriptinit