undefined symbol
#1

Undefined symbol DestroyAddStaticVehicle

Код:
if (IsValidDynamicObject(g_aFireObjects[i]))
	        DestroyDynamicObject(g_aFireObjects[i]);
	        DestroyAddStaticVehicle(g_aFireObjects[i]);
Reply
#2

Try DestroyVehicle. DestroyAddStaticVehicle does not exist as far as I know lol.

AddStaticVehicle -> Create vehicles
DestroyVehicle -> Delete vehicle

If you ask for help in the future, try to write a more detailed post. Literally posting the error message and posting some code with it is a little vague most of the times.

EDIT: Oh yeah, searching on ****** will also help you a lot in the future. Ever since SA-MP exists, people have been scripting and encountered error messages. Most of the problems people encounter are probably answered already, and lay around somewhere on the Internet.
Reply
#3

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
Try DestroyVehicle. DestroyAddStaticVehicle does not exist as far as I know lol.

AddStaticVehicle -> Create vehicles
DestroyVehicle -> Delete vehicle

If you ask for help in the future, try to write a more detailed post. Literally posting the error message and posting some code with it is a little vague most of the times.
Same as you . Befor posting, check the wiki.
Reply
#4

Do #define DestroyAddStaticVehicle DestroyVehicle .

and-.. THE HECK is that ?

if (IsValidDynamicObject(g_aFireObjects[i]))
DestroyDynamicObject(g_aFireObjects[i]);
DestroyAddStaticVehicle(g_aFireObjects[i]);
Reply
#5

Quote:
Originally Posted by SpikeSpigel
Посмотреть сообщение
Do #define DestroyAddStaticVehicle DestroyVehicle .

and-.. THE HECK is that ?

if (IsValidDynamicObject(g_aFireObjects[i]))
DestroyDynamicObject(g_aFireObjects[i]);
DestroyAddStaticVehicle(g_aFireObjects[i]);
.... why? Why define a new function for a something that is EXACTLY the same, and already exists?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)