Map Icon problem [HELP]
#1

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

You need to put it under OnGameMode/FilterScriptInit

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

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

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.
Reply
#5

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)
Reply
#6

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

Try using a streamer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)