21.08.2011, 14:07
Lol this is funny!
Or just :
Got the same error, didn't even used SetPlayerPos.
My brains got confused ...
pawn Code:
#include < a_samp > // SetPlayerPos is defined on a_players.inc, which it is included in a_samp
#if !defined SetPlayerPos // If it's not defined
#error "ROFLMAO!!!" // Instruct the compiler to make an error.
#else // Else
#undef SetPlayerPos // Undefine it, error in this line.
#endif
pawn Code:
#include < a_samp >
#undef SetPlayerPos // Error, SetPlayerPos is not defined =)
My brains got confused ...