Need help with map icons,,
#1

Hello, I'll trying to add some map icons to my game.

Here a example
pawn Code:
SetPlayerMapIcon( playerid, 12, 2204.9468, 1986.2877, 16.7380, 52, 0, MAPICON_LOCAL );
I get the error that MAPICON_LOCAL undefined is. May I need a include for it?
Reply
#2

Add this on OnGamemode Init.
where did u place it?
Reply
#3

Which version of SA-MP are you using?
Reply
#4

I use samp 0.3d, and I placed it under OnGameModeInit()
Reply
#5

place under onplaeyrconnect
Reply
#6

Quote:
Originally Posted by MSI
View Post
I use samp 0.3d, and I placed it under OnGameModeInit()
How can you place it under OnGameModeInit if it has a playerid parameter..? It should be put under OnPlayerConnect or OnPlayerSpawn.
Reply
#7

Okay, than is the samp Wiki incorrect;p But thanks
Reply
#8

Place it under onplayerconnect not working...
Reply
#9

Try onplayerspawn...
Reply
#10

Working
Reply
#11

Good
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)