31.05.2015, 15:39
I'm pretty sure a run time error would cause the script not working correctly (which is your case).
Specifically, in this line:
if the value of APlayerData[playerid][Team] is out of bounds (0 to size of Factions-1).
Load crashdetect plugin (https://github.com/Zeex/samp-plugin-...etect/releases) and compile with -d3 flag: https://github.com/Zeex/samp-plugin-...ith-debug-info
Re-compile the script, run the server and try again. Post the server log if you get any output with [debug] prefix.
Specifically, in this line:
pawn Код:
Factions[APlayerData[playerid][Team]][Type]
Load crashdetect plugin (https://github.com/Zeex/samp-plugin-...etect/releases) and compile with -d3 flag: https://github.com/Zeex/samp-plugin-...ith-debug-info
Re-compile the script, run the server and try again. Post the server log if you get any output with [debug] prefix.