Make script run properly
#2

You mean Removing if he's not the owner?
pawn Код:
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(strcmp(plname, VehicleInfo[veh][vOwner], true) == 0 )
{
   SendClientMessage(playerid, COLOR_LIGHTBLUE, Owner! You are right person, welcome);
   return 1;
}
else
{
   SendClientMessage(playerid, COLOR_LIGHTBLUE, You are wrong person, GFO);
   RemovePlayerFromVehicle(playerid);
}
Reply


Messages In This Thread
Make script run properly - by VoViNaToR - 09.07.2010, 15:19
Re: Make script run properly - by CAR - 09.07.2010, 15:27
Re: Make script run properly - by VoViNaToR - 09.07.2010, 15:33
Re: Make script run properly - by Carlton - 09.07.2010, 15:42
Re: Make script run properly - by VoViNaToR - 09.07.2010, 15:45
Re: Make script run properly - by Carlton - 09.07.2010, 15:45
Re: Make script run properly - by VoViNaToR - 09.07.2010, 15:57
Re: Make script run properly - by Carlton - 09.07.2010, 15:58
Re: Make script run properly - by Hiddos - 09.07.2010, 16:01
Re: Make script run properly - by VoViNaToR - 09.07.2010, 16:08

Forum Jump:


Users browsing this thread: 3 Guest(s)