player location for cops and robbers? - 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)
+--- Thread: player location for cops and robbers? (
/showthread.php?tid=463431)
player location for cops and robbers? -
ethhackerman - 11.09.2013
hi can i get any thing that shows me the last location u went before you enter a shop ? for cops and robbers
like
pawn Код:
format(string,sizeof(string),"[WARNING] susbect %s has started to rob burger shop at %s with wanted level %d sent units to there,over",GetName(playerid),last zone before he enters the shop here,GetPlayerWantedLevel(playerid));
SendCopMessage(string);
Re: player location for cops and robbers? -
ethhackerman - 11.09.2013
any one help please
Re: player location for cops and robbers? -
ethhackerman - 11.09.2013
help please please :S
Re: player location for cops and robbers? -
Pottus - 12.09.2013
You'll need some area checking, but it should be known when the player enters a building where that player is.
Re: player location for cops and robbers? -
ethhackerman - 12.09.2013
yeah i know what u mean but can u give me any example script please?
Re: player location for cops and robbers? -
ethhackerman - 12.09.2013
bumb!
Re: player location for cops and robbers? -
ethhackerman - 12.09.2013
81 views and no new reply? i am using a_zones please help i just want something to save location before any one enter a shop
Re: player location for cops and robbers? -
ethhackerman - 12.09.2013
bumb :S :S
Re: player location for cops and robbers? -
Konstantinos - 12.09.2013
Then use
GetPlayer2DZone function to get the name of the place and format it to the message.
Re: player location for cops and robbers? -
ethhackerman - 12.09.2013
any example code please?