SA-MP Forums Archive
Map Icon problem [HELP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Map Icon problem [HELP] (/showthread.php?tid=132617)



Map Icon problem [HELP] - [MWR]Blood - 08.03.2010

pawn Код:
SetPlayerMapIcon(playerid,48,-1630.3036,-221.3975,14.1484,48,6);
And it does not appear.Do you know why?Help pls


Re: Map Icon problem [HELP] - [BEP]AcerPilot - 08.03.2010

You need to put it under OnGameMode/FilterScriptInit

Код:
public OnGameMode/FilterScriptInit
{
SetPlayerMapIcon(playerid,48,-1630.3036,-221.3975,14.1484,48,6);
return 1;
}



Re: Map Icon problem [HELP] - [MWR]Blood - 09.03.2010

pawn Код:
F:\ikarusloool\gamemodes\ES.pwn(1942) : error 017: undefined symbol "playerid"
Do u know how to fix this error?


Re: Map Icon problem [HELP] - AKA_Cross - 09.03.2010

Quote:
Originally Posted by [BEP
GeoPilot ]
You need to put it under OnGameMode/FilterScriptInit

Код:
public OnGameMode/FilterScriptInit
{
SetPlayerMapIcon(playerid,48,-1630.3036,-221.3975,14.1484,48,6);
return 1;
}
failure, should try using a MapIcon Steamer, i would.


Re: Map Icon problem [HELP] - Torran - 09.03.2010

Quote:
Originally Posted by [BEP
GeoPilot ]
You need to put it under OnGameMode/FilterScriptInit

Код:
public OnGameMode/FilterScriptInit
{
SetPlayerMapIcon(playerid,48,-1630.3036,-221.3975,14.1484,48,6);
return 1;
}
No he dosent, He needs to put it under OnPlayerSpawn,
Well dosent need to but thats the best way
It wouldnt work under OnGameMode/FilterScriptInit

As the callback is () and not (playerid)


Re: Map Icon problem [HELP] - [MWR]Blood - 09.03.2010

I putted it under OnPlayerSpawn... and again nothing shows on the map.


Re: Map Icon problem [HELP] - Torran - 09.03.2010

Try using a streamer