A scripting problem.
#1

I downloaded pawnotools recently and my friends helping me to script some stuff, so each time I try to upload them on the server (not mine) it doesn't upload it just says:

"This commands does not exist"
May anyone help me or give an example of his scripting ? atleast 1 command.

P.S: searched on ******* + ******, didn't find anything that could help me :/.
Reply
#2

Are you using the server package from http://sa-mp.com/? You need to be doing that, and go to the directory/pawno/pawno.exe and then use that file because it's already optimized to compile with the SA-MP permissions and that stuff.

Also, when you uploaded the server, you need to upload the .amx file, and make sure that in your server.cfg under the gamemode section that your GM is there, not another one i.e. grandlarc.

Yet again, also, you need be making sure that you're restarting the server either by closing the console and restarting it, or typing "gmx" into the console, or logging in in-game RCON'ly with /rcon login <password in server.cfg> and then doing /rcon gmx.

Furthermore, to get the .amx file, you need to open up pawno.exe, and then open the .pwn file and then press F5 which will compile the GM.

Here's a 'tutorial' or 'explanation' on how to create commands using OnPlayerCommandText: https://sampwiki.blast.hk/wiki/OnPlayerCommandText. I recommend you use this first to gain a little knowledge, and then later go on to start using ZCMD and sscanf with your projects, as they're are easier to use but it's better to have some knowledge first.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)