GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => Leírások/Útmutatók => SA-MP: Szerverfejlesztés => Függvények => A témát indította: Csabesz - 2012. augusztus 30. - 09:02:46

Cím: RemovePlayerMapIcon
Írta: Csabesz - 2012. augusztus 30. - 09:02:46
RemovePlayerMapIcon
 
RemovePlayerMapIcon(playerid, iconid)

 
Magyarázat:
 

Példa Szkript:
 

#include < a_samp >
public OnFilterSrciptInit()
{
        print(\"Ez egy teszt szkript\");
}
public OnPlayerConnect(playerid)
{
        SetPlayerMapIcon(playerid,0,-1678.4890,415.8058,7.1797,42, 0,1);
SetPlayerMapIcon(playerid,1,-87.2077,-1169.6858,2.3320,42, 0,1);
SetPlayerMapIcon(playerid,2,2115.7092,919.9333,10.8203,42, 0,1);   
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
        RemovePlayerMapIcon(playerid,0);
        RemovePlayerMapIcon(playerid,1);
        RemovePlayerMapIcon(playerid,2);
return 1;
}

 


Forrás:
http://wiki.sa-mp.com/wiki/RemovePlayerMapIcon