Need Help[+rep\
#1

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
Reply
#2

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
Reply
#3

Script Request Thread takes time i need this script urgent

Thanks for Replying
Reply
#4

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;
}
Reply
#5

Thanks
Reply
#6

how can i add like player1(ID) is at Pershing square?
Reply
#7

umm help anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)