26.01.2017, 03:32
Just so you know, what this section is for, it is for if you have code that is giving you problems.
Something that you've made that should work, but seemingly doesn't, or for clarification on certain functions usages.
If you are new to scripting, I'd suggest you look at ZCMD, sscanf, and the streamer plugin as those are the main things people are using for basic commands, gamemodes, and mapping.
There are various tutorials around the forum.
With this situation though you'd be looking at IsPlayerInRangeOfPoint, and using that to check where you are against a list of all the various payphone areas.
https://sampforum.blast.hk/showthread.php?tid=627280
Just an example of something someone asked earlier that was answered in an adequate manner.
Something that you've made that should work, but seemingly doesn't, or for clarification on certain functions usages.
If you are new to scripting, I'd suggest you look at ZCMD, sscanf, and the streamer plugin as those are the main things people are using for basic commands, gamemodes, and mapping.
There are various tutorials around the forum.
With this situation though you'd be looking at IsPlayerInRangeOfPoint, and using that to check where you are against a list of all the various payphone areas.
https://sampforum.blast.hk/showthread.php?tid=627280
Just an example of something someone asked earlier that was answered in an adequate manner.