FAST!=> Help! Map Icon! Need help! <= FAST!
#1

PLEASE HELP ME! NOW!
I need help with checkpoint for mini-game
1st i do /potstart - starts pickups and shows map icon- it's perfect, when i get in vehicle map icon disappears
what to do?
i did like this :
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
SetPlayerMapIcon( playerid, 19, goldX, goldY, goldZ, 19, 0 );
IsInCheckPoint[playerid] = 1;
return 1;
}
but it didn't give nothink so... need help!
Reply
#2

are you sure the goldX,goldY,goldZ are setted??
Reply
#3

they are Floats:
Код:
new Float:goldX;
new Float:goldY;
new Float:goldZ;
Reply
#4

yeah and for example you have it setted?? because if you only haves this it promoves the coords 0.0, 0.0, 0.0
Reply
#5

im using Random coords! 21 rand coords!
Reply
#6

When do you do that? Right now, it looks like they are still at 0.00 .
Reply
#7

yep true
Reply
#8

Also, you can only have one map icon set at a time for a player. So if you set one, all previous existing ones will be deleted, so you can place that one.
Reply
#9

that map icon is at the right place!
I taked a marker and worked!
Reply
#10

i added it to OnPlayerConnect.... hope works...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)