help with a command[ RPP + ezz]
#5

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
Код:
 warning 213: tag mismatch
here
Код:
if(LastUsedVehicle[playerid] == -1) return SendClientMessage(playerid,-1, "You havent used a vehicle to stop from respawning");
Try this:

Код:
CMD:stoprespawn(playerid, params[])
{
	if(LastUsedVehicle[playerid] == -1) return SendClientMessage(playerid, 0xFFFFFFFF, "[ERROR] You never used a vehicle in this session.");

	new Vehicle = LastUsedVehicle[playerid]; //Did this to avoid errors

	AntiRespawn[Vehicle] = 1;
	
	SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] This vehicle will not respawn from now.");
	return 1;
}
Reply


Messages In This Thread
help with a command[ RPP + ezz] - by ThatFag - 24.09.2016, 19:17
Re: help with a command[ RPP + ezz] - by K0P - 24.09.2016, 19:18
Re: help with a command[ RPP + ezz] - by SickAttack - 24.09.2016, 19:27
Re: help with a command[ RPP + ezz] - by ThatFag - 24.09.2016, 19:59
Re: help with a command[ RPP + ezz] - by K0P - 24.09.2016, 20:01
Re: help with a command[ RPP + ezz] - by Shinja - 24.09.2016, 20:04
Re: help with a command[ RPP + ezz] - by K0P - 24.09.2016, 20:16
Re: help with a command[ RPP + ezz] - by ThatFag - 24.09.2016, 20:39
Re: help with a command[ RPP + ezz] - by Shinja - 24.09.2016, 20:51
Re: help with a command[ RPP + ezz] - by ThatFag - 24.09.2016, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)