Problem with disabling commands
#6

If you need to block the commands in both a gamemode and a filterscript, use a PVar.

https://sampwiki.blast.hk/wiki/SetPlayerPVar
https://sampwiki.blast.hk/wiki/GetPlayerPVar

Basically the same thing, just a little slower - but that's the price you have to pay to be able to access things across multiple scripts.

Also, Can4ns, work on your indentation!
Reply


Messages In This Thread
Problem with disabling commands - by martoivanov - 19.06.2013, 16:31
Re: Problem with disabling commands - by Juanxz - 19.06.2013, 17:01
Re: Problem with disabling commands - by Can4ns - 19.06.2013, 17:09
Re: Problem with disabling commands - by Can4ns - 19.06.2013, 17:23
Re: Problem with disabling commands - by martoivanov - 19.06.2013, 17:25
Re: Problem with disabling commands - by Scenario - 19.06.2013, 17:47
Re: Problem with disabling commands - by martoivanov - 19.06.2013, 17:49
Re: Problem with disabling commands - by Scenario - 19.06.2013, 17:51
Re: Problem with disabling commands - by martoivanov - 19.06.2013, 17:56
Re: Problem with disabling commands - by Scenario - 19.06.2013, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)