Vehicle - 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: Vehicle (
/showthread.php?tid=440722)
Vehicle -
[..MonTaNa..] - 31.05.2013
Removed.
Re: Vehicle -
Faisal_khan - 31.05.2013
What exactly do you want us to do?
Re: Vehicle -
BossZk - 31.05.2013
use OnPlayerStateChange and make it eject a player if he is not an admin and make the gametext with GameTextForPlayer
Example:
PHP код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetPlayerVehicleID(playerid) == (youradmincarid)) //put your admin carid here
{
if(!IsPlayerAdmin(playerid)) // Your admin variable
{
new string[15];
RemovePlayerFromVehicle(playerid);
format(string, sizeof(string), "Ejected from admins car", vehicleid);
GameTextForPlayer(playerid, string, 3000, 1);
}
}
}
return 1;
}
Re: Vehicle -
[..MonTaNa..] - 31.05.2013
Removed.
Re: Vehicle -
[..MonTaNa..] - 31.05.2013
Removed.
Re: Vehicle -
Pottus - 31.05.2013
Have you not learned by now Raven's Roleplay is a trash script and no one wants to waste their time trying to solve faggoty assed problems with it.
Re: Vehicle -
[..MonTaNa..] - 01.06.2013
Removed.
Re: Vehicle -
Pottus - 01.06.2013
Looks very RRish at least based off of it.
Re: Vehicle -
[..MonTaNa..] - 01.06.2013
Removed.