03.12.2016, 19:45
I use this
What code i need for when player enter cp, to remove the mapicon.
PHP код:
if(dialogid == 6)
{
if(response)
{
if(listitem == 0)
{
CreateDynamicCP(377.8297,-2087.4912,7.8359, 5.0, -1, -1, -1, 50.0);
SetPlayerMapIcon(playerid, 1,377.8297,-2087.4912,7.8359, 0, COLOR_YELLOW, 0);
SendClientMessage(playerid, COLOR_YELLOW, "Mergi la checkpoint-ul afisat pe harta.");
}
}
}
return 1;
}