[FilterScript] [FS]Private Cars
#3

Your telling people to put there private cars in the wrong places,

Example:
Quote:
Originally Posted by Script
//End of [ECA]Sinbad's private vehicle
//Start New private vehicle here
Your putting that after you've closed the callback

Quote:
Originally Posted by Script
public OnPlayerStateChange(playerid,newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
new pname[MAX_PLAYER_NAME];

GetPlayerName(playerid,pname,sizeof pname);

if (newstate == PLAYER_STATE_DRIVER)
{
if (vehicleid == sinbadcar)
{
if(strcmp(pname,"[ECA]Sinbad",true) ==0)
{
{
SendClientMessage(playerid,green,"Welcome back to your private vehicle Admin Sinbad");
}

return 1;
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,red,"This PRIVATE Vehicle belongs to [ECA]Sinbad, you cannot drive this vehicle");
}
}
}
return 1;
}
//End of [ECA]Sinbad's private vehicle
//Start New private vehicle here
Reply


Messages In This Thread
[FS]Private Cars - by sinbad - 07.06.2010, 22:57
Re: [FS]Private Cars - by DagrCZE - 13.06.2010, 08:44
Re: [FS]Private Cars - by NewTorran - 13.06.2010, 10:08
Re: [FS]Private Cars - by sinbad - 15.06.2010, 01:17
Re: [FS]Private Cars - by ricochetjr - 15.06.2010, 01:57
Re: [FS]Private Cars - by laci112 - 18.06.2010, 12:25
Re: [FS]Private Cars - by Joe_ - 18.06.2010, 15:17
Re: [FS]Private Cars - by Aleron - 18.06.2010, 16:09
Re: [FS]Private Cars - by AlexXxBadBoy - 19.06.2010, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)