Anti-Car Flooding
#2

If a player already has one car spawned, tell them to despawn it before spawning a new one?
This is what I have in my script:
Code:
 
if(PlayerInfo[playerid][vModel] && PlayerInfo[playerid][vVModel])
		{
			format(string, sizeof(string), "You already have vehicle %d and %d spawned!", PlayerInfo[playerid][pVeh], PlayerInfo[playerid][pVVeh]);
			SendClientMessage(playerid, COLOR_GREY, string);
		    return 1;
		}
Reply


Messages In This Thread
Anti-Car Flooding - by RiChArD_A - 22.01.2013, 02:32
Re: Anti-Car Flooding - by SomeRandomGuy123 - 22.01.2013, 03:53
Re: Anti-Car Flooding - by Jewell - 22.01.2013, 04:00
Respuesta: Re: Anti-Car Flooding - by RiChArD_A - 22.01.2013, 10:47
AW: Anti-Car Flooding - by Blackazur - 22.01.2013, 10:51
Respuesta: AW: Anti-Car Flooding - by RiChArD_A - 22.01.2013, 12:54
Re: Anti-Car Flooding - by ikey07 - 22.01.2013, 13:05
Respuesta: Re: Anti-Car Flooding - by RiChArD_A - 22.01.2013, 13:13
Re: Anti-Car Flooding - by ikey07 - 22.01.2013, 13:17
Respuesta: Re: Anti-Car Flooding - by RiChArD_A - 23.01.2013, 03:48

Forum Jump:


Users browsing this thread: 2 Guest(s)