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



Carlock - hydronic - 13.09.2011

but I am interested in how the MTA would do it in SA-MP vehicle that would not be able to use in the game ..... something that would be rejected or something please help


Re: Carlock - [MG]Dimi - 13.09.2011

You want that players cant use vehicles at all? This is, let's say the easiest option,
PHP код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    
SetVehicleParamsForPlayer(vehicleid,playerid,0,1);
    return 
1;




Re: Carlock - hydronic - 13.09.2011

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
You want that players cant use vehicles at all? This is, let's say the easiest option,
PHP код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    
SetVehicleParamsForPlayer(vehicleid,playerid,0,1);
    return 
1;

I need only about 10 other vehicles that I would like everything was normal there any script to lock vehicles