SA-MP Forums Archive
Is this possable? - 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: Is this possable? (/showthread.php?tid=188874)



Is this possable? - killer__577 - 09.11.2010

What I would like is a command where if I am level 5+ in LSPD I can do /markmap, Then go to the map and mark somewhere. And then it shows a red dot on the map for everyone in LSPD but no other people.. Is that possable? If so can you make a basic command for me


Re: Is this possable? - Cameltoe - 09.11.2010

pawn Код:
new Float:POS[3];
GetPlayerPos(playerid, POS[0], POS[1], POS[2]);
for(new i; i < MAX_PLAYERS+1; i++)
{
     if(LSPD[i] == 1) SetPlayerCheckpoint(i, POS[0], POS[1], POS[2], 3.0);
}



Re: Is this possable? - killer__577 - 09.11.2010

Hey thanks, I have no one to test it with but can i make it so I mark it on the map from: Esc - Map ( Then right click location)


Re: Is this possable? - WillyP - 09.11.2010

Quote:
Originally Posted by killer__577
Посмотреть сообщение
Hey thanks, I have no one to test it with
Hint hint..

But for the map idea, I doubt that's possible.


Re: Is this possable? - Cameltoe - 09.11.2010

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
Hint hint..

But for the map idea, I doubt that's possible.
Actually, iv'e seen an filterscript ( Bombing FS ) somethn .. can't remember. you could set the marker and type in the command to drop an Air strike.

Pretty neat, though it's a shame i can't remember where and when i saw it :-/


Re: Is this possable? - killer__577 - 09.11.2010

Well on my of the scripts ive used. When on admin duty you right click the map and if you are not in a car you teleport there but i dont seem to find that in the script >.> ( I dont know what id be looking for :P ) It never says anything with AdminDuty[playerid] == 1 :/


Re: Is this possable? - killer__577 - 09.11.2010

So i can right click on my map and it will appear for all LSPD?