Help with SetVehicleVelocity with OnPlayerKeyStateChange.
#4

Quote:
Originally Posted by Ace_Menace
You're missing one of the core includes.

Try to add these:

pawn Код:
#include <a_samp>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
If you open up a_samp.inc and you will see this:

pawn Код:
#include <core>
#include <float>
#include <string>
#include <file>
#include <time>
#include <datagram>
#include <a_players>
#include <a_vehicles>
#include <a_objects>
#include <a_sampdb>
So all you need to add is #include <a_samp> to include the first 5. The last 2 are not supplied with the server package and so unless someone happens to have downloaded them, they cannot use them. Finally, morphinc is outdated and SetNameTagDrawDistance can be used instead of it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)