SA-MP Forums Archive
Problem with IDs - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with IDs (/showthread.php?tid=240856)



Problem with IDs - bake_pg - 16.03.2011

Hy.
I belive many of you know how to solve this problem, becase you had this problem when you begin scripting.
When I add extra house or housecar, or (AddStaticVehicleEx) car the IDs of the cars in GM mix.
So for example, when I enter in the Hitman car, it says "You are not member of Police Department" and similiar problem.


So I would appreciate if someone could help me.

Thanks Guys.


Re: Problem with IDs - maramizo - 16.03.2011

It's probably that you mistaken the ID of the cars in some later function.
"if (vehicleid == hitmancar)
{
SendClientMessage(playerid, COLOR_WHITE, "You are not member of Police Department");
return 1;
}"
Or something like that.