SetVehicleHealth help :)
#1

Hello samp forums

i got this

Код:
	if (strcmp("/crash", cmdtext, true, 10) == 0)
	{
		SetVehicleHealth(vehicleid, 100);
        SendClientMessage(playerid,1,"Your vehicle has been Destroyed.");
		return 1;
	}
but it gives me this fail when i compile

error 017: undefined symbol "vehicleid"


whats wrong

ps i want to set the vehiclehealth to 100 so the car explodes
Reply


Messages In This Thread
SetVehicleHealth help :) - by [SU]Fnugski - 28.12.2010, 20:20
Re: SetVehicleHealth help :) - by Jochemd - 28.12.2010, 20:21
Re: SetVehicleHealth help :) - by Mean - 28.12.2010, 20:32
Re: SetVehicleHealth help :) - by _rAped - 28.12.2010, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)