SetlayerMapIcon, Help
#1

Sorry this is nubish question, i am do a code with setmapicon but i have some warn, can anybody give me example of that code, pls you example.

Thank you!
Reply
#2

Post the warning/error.

(https://sampwiki.blast.hk/wiki/SetPlayerMapIcon)
Reply
#3

Код:
C:\Documents and Settings\User\Desktop\samp02Xserver.win32\gamemodes\larp.pwn(45478) : warning 235: public function lacks forward declaration (symbol "Onplayerconnect")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      9172 bytes
Code size:     1687936 bytes
Data size:     3708408 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4982 cells (19928 bytes)
Total requirements: 5421900 bytes

1 Warning.
Reply
#4

This has nothing to do with the SetPlayerMapIcon and the function isn't called "Onplayerconnect", it's "OnPlayerConnect".
Reply
#5

Код:
C:\Documents and Settings\User\Desktop\samp02Xserver.win32\gamemodes\larp.pwn(45479) : error 021: symbol already defined: "OnPlayerConnect"
C:\Documents and Settings\User\Desktop\samp02Xserver.win32\gamemodes\larp.pwn(45483) : warning 209: function "OnPlayerConnect" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#6

You already have an OnPlayerConnect, use that one.
Reply
#7

Quote:
Originally Posted by player007
You already have an OnPlayerConnect, use that one.
xD thank you, i said nobish question, thnx
Reply
#8

Quote:
Originally Posted by [ACI
Abe ]
Quote:
Originally Posted by player007
You already have an OnPlayerConnect, use that one.
xD thank you, i said nobish question, thnx
Okay but don't forget to delete the one you made, or else the error 021 will appear again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)