Question on SA-MP districts/areas..
#1

I've created a /customspawn command with a DIALOG, basically it stores their current position and the players spawn on it. I want to show in which area they are currently storing their position:

[SPAWN] You have saved your custom spawn position in <Area> (For example: Red County)..

Is there any way to do that?
Reply
#2

Tell the server to write to a .txt slot with the player name and their saved position location.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=27598 <- you need this include

example:
pawn Код:
new String[128], zonename[28];
GetPlayer2DZone(playerid, zonename, 28);
format(String, sizeof(String),"[SPAWN] You have saved your custom spawn position in: %s.", zonename);
Reply
#4

Quote:
Originally Posted by klimgorilla
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=27598 <- you need this include

example:
pawn Код:
new String[128], zonename[28];
GetPlayer2DZone(playerid, zonename, 28);
format(String, sizeof(String),"[SPAWN] You have saved your custom spawn position in: %s.", zonename);
Thanks!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)