Protection anti-invalid-mods
#2

This could make your code a little shorter. (I haven't tested it)

Код:
new playercarmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
When using playerid, use lowercase. Same with vehicleid, and all those parameters.

You could put this in a timer, and run it ever 5-10 seconds (5000-10000), checking each player who is in a car (In state PLAYER_STATE_DRIVER)
Reply


Messages In This Thread
Protection anti-invalid-mods - by TheWay - 20.05.2016, 03:55
Re: Protection anti-invalid-mods - by Sew_Sumi - 20.05.2016, 04:04
Re: Protection anti-invalid-mods - by TheWay - 20.05.2016, 04:14
Re: Protection anti-invalid-mods - by Sew_Sumi - 20.05.2016, 05:39
Re: Protection anti-invalid-mods - by jlalt - 20.05.2016, 07:44
Re: Protection anti-invalid-mods - by Nin9r - 20.05.2016, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)