How to store a players location in a string?
#3

Quote:
Originally Posted by erminpr0
Посмотреть сообщение
Use zonesystem filterscript if you want, https://sampforum.blast.hk/showthread.php?tid=161741

pawn Код:
new ZoneName[MAX_ZONE_NAME];
GetPlayer2DZone(callerid, ZoneName, MAX_ZONE_NAME);
new callerName[MAX_PLAYER_NAME]; GetPlayerName(callerid, callerName, MAX_PLAYER_NAME);
new string[128];
format(string, sizeof string, "Caller: %s, Location: %s", callerName, ZoneName);
for(new i = 0; i != MAX_PLAYERS; i++) if(/*if is player mechanic*/) SendClientMessage(i, 0xFFFFFFFF, string);
Thanks man, I appreciate it [+Rep for you ]
Reply


Messages In This Thread
How to store a players location in a string? - by Ciarannn - 13.01.2015, 16:34
Re: How to store a players location in a string? - by erminpr0 - 13.01.2015, 17:03
Re: How to store a players location in a string? - by Ciarannn - 13.01.2015, 21:30

Forum Jump:


Users browsing this thread: 2 Guest(s)