[help!] I am struggling a bit with script! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help!] I am struggling a bit with script! (
/showthread.php?tid=166657)
[help!] I am struggling a bit with script! -
bobintom - 09.08.2010
this might seem an easy problem to you guys but i have never done this before so i am struggling a bit :/
i want people just to be able to type /arch and other car tuning areas and it will bring a red dot on the map
to show people where the exact location is.
and when you reach it is says you have reached your destination.
Can you help??
Re: [help!] I am struggling a bit with script! -
selten98 - 09.08.2010
pawn Код:
public OnPlayerCommandText(blabla)
{
if(!strcmp(cmd,"/arch",true))
{
SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color);
}
}
https://sampwiki.blast.hk/wiki/MapIcons
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon