Need Help[+rep\ - 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: Need Help[+rep\ (
/showthread.php?tid=372931)
Need Help[+rep\ -
ZBits - 28.08.2012
Hello guys
i need a script that gets player area
EG: Player 1: Where are you?
Player 2: /area [playerid]
player 1 gets a Message "Player 2 is at Pershing square"
so that the point i need this script or who ever can kae me one
Re: Need Help[+rep\ - Jarnu - 28.08.2012
Codes can help you:
1.
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
or
IsPlayerInArea
2. Before posting here.. post here:
https://sampforum.blast.hk/showthread.php?tid=187229
Re: Need Help[+rep\ -
ZBits - 28.08.2012
Script Request Thread takes time i need this script urgent
Thanks for Replying
Re: Need Help[+rep\ - HuSs3n - 28.08.2012
first
add this include to your gamemode
https://sampforum.blast.hk/showthread.php?tid=27598
then add this command (zcmd and sscanf)
pawn Код:
CMD:area(playerid,params[])
{
new target;
if(sscanf(params,"u",target)) return SendClientMessage(playerid,0xFFFFFFFF,"USAGE: /locate <playerid>");
new string[200], Name[MAX_PLAYER_NAME], zone[MAX_ZONE_NAME];
GetPlayerName(target, Name, MAX_PLAYER_NAME);
GetPlayer2DZone(target, zone, MAX_ZONE_NAME);
format(string, sizeof(string), "%s is in %s.", Name, zone);
SendClientMessage(playerid,0xFFFFFFFF,string);
return 1;
}
Re: Need Help[+rep\ -
ZBits - 28.08.2012
Thanks
Re: Need Help[+rep\ -
ZBits - 28.08.2012
how can i add like player1(ID

) is at Pershing square?
Re: Need Help[+rep\ -
ZBits - 28.08.2012
umm help anyone?