Why it happens?
#1

I have this code at:
Код HTML:
OnPlayerConnect
pawn Код:
(733)SetPlayerMapIcon(playerid, 12, -19.7129,2329.5400,24.1406,255.1848, 19, 0, MAPICON_GLOBAL);
When I enter in game, I see nothing!
No map icon..

Also I have those warnings:
Код:
(733) : warning 213: tag mismatch
(733) : warning 202: number of arguments does not match definition
Can someone help me?
Reply
#2

pawn Код:
SetPlayerMapIcon(playerid, 12, -19.7129, 2329.5400, 24.1406, 19, 0, MAPICON_GLOBAL);
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Reply
#3

You need to put that under OnGameMode/FilterscriptInit

NOTE:
ShowPlayerMapIcon((playerid, iconid, Float, Float:y, Float:z, markertype, color, style)

I think you forgot the markertype and the color.
Hope i helped
Reply
#4

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
pawn Код:
SetPlayerMapIcon(playerid, 12, -19.7129, 2329.5400, 24.1406, 19, 0, MAPICON_GLOBAL);
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Hey bro!
Really thanks! +rep you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)