Is this possible? -
robanswe - 07.03.2009
Anyone know if this is possible? Can sa-mp set the Way Pointicon for the player? i have tried this but its dosent work

or it does work BUT it dosent change the orginal player map icon...
My problem is NOT to get a marker my problem is to set the pos at the meny marker the (sa marker) pls help
Код:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 );
return 1;
}
Sorry for bad English...
Re: Anyone know if this is possible? -
robanswe - 07.03.2009
More info... and "bump" I need a command thats edits the meny Way Point... My "/test" command only makes a new one ... thats is not editeble by the meny map..
Re: Anyone know if this is possible? -
robanswe - 07.03.2009
I hate to "Bump" but I RELLY needs this.. pls help me

*BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP* *BUMP*
Re: Anyone know if this is possible? -
kokkie20 - 07.03.2009
well u already triple posted, and i guess no one would help you if u act like that....
Re: Anyone know if this is possible? -
robanswe - 07.03.2009
Quote:
Originally Posted by kokkie20
well u already triple posted, and i guess no one would help you if u act like that.... 
|
Rolf dosent you know why im bumping i was 3 pages back and i havent got any answear...
And i need this more then ever now
Re: SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 ); -
KyleLyndonSmith - 07.03.2009
Quote:
Originally Posted by Roban[swe
]
Anyone know if this is possible? Can sa-mp set the Way Pointicon for the player? i have tried this but its dosent work  or it does work BUT it dosent change the orginal player map icon...
Код:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 );
return 1;
}
Sorry for bad English...
|
Try this
Код:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
new Float:x,Float:y,Float:z;
SetPlayerMapIcon( playerid, x+3,y,z,41, 0 );
return 1;
}
Re: SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 ); -
robanswe - 07.03.2009
Tanks for the reply but dident work it did the same thing but gave me 2 warnings
Код:
C:\Users\Robin\Desktop\Simons server\gamemodes\lvdm.pwn(268) : warning 213: tag mismatch
C:\Users\Robin\Desktop\Simons server\gamemodes\lvdm.pwn(268) : warning 202: number of arguments does not match definition
Re: SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 ); -
Zoopaman - 07.03.2009
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Follow the syntax: SetPlayerMapIcon(playerid, iconid, Float

, Float:y, Float:z, markertype, color)
And X, Y, Z have to end w/ atleast one number after the point, so 0 becomes 0.0
So basically your code should be like:
pawn Код:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
SetPlayerMapIcon(playerid, 0, 0.0, 0.0, 0.0, 41, 0);
return 1;
}
C'mon -- RTFM
Re: SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 ); -
KyleLyndonSmith - 07.03.2009
Quote:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
new Float ,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerMapIcon( playerid, 1, x+3,y,z, 41, 0 );
}
|
Glad to help

enjoy!
Re: SetPlayerMapIcon( playerid, 0,0, 0, 0, 41, 0 ); -
robanswe - 07.03.2009
Hello my problem is NOT to get a marker my problem is to set the pos at the meny marker the (sa marker) pls help
Re: Is this possible? -
robanswe - 08.03.2009
*BUMP* Anyone?