[Tutorial] Admin system for beginners
#15

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
what do you suggest


I tried it, the command always end up not working as it should, I would enter any ID and the cmd would still work but only on the playerid
The reason why it's not working is because "i" is an integer specifier, so it never returns INVALID_PLAYER_ID, so you'll have to use IsPlayerConnected(targetid), but if you change it to "u", INVALID_PLAYER_ID is returned, so it should work.
Reply


Messages In This Thread
Admin system for beginners - by Eoussama - 04.10.2016, 11:51
Re: Admin system for beginners - by Spmn - 04.10.2016, 12:33
Re: Admin system for beginners - by Eoussama - 04.10.2016, 14:03
Re: Admin system for beginners - by GoldenLion - 04.10.2016, 14:08
Re: Admin system for beginners - by Luis- - 04.10.2016, 14:12
Re: Admin system for beginners - by Eoussama - 04.10.2016, 14:16
Re: Admin system for beginners - by Luis- - 04.10.2016, 14:59
Re: Admin system for beginners - by Eoussama - 04.10.2016, 15:28
Re: Admin system for beginners - by Quinncell - 04.10.2016, 16:07
Re: Admin system for beginners - by J0sh... - 04.10.2016, 18:34
Re: Admin system for beginners - by Gorgeousmaniac - 05.10.2016, 06:14
Re: Admin system for beginners - by Quinncell - 05.10.2016, 10:43
Re: Admin system for beginners - by J0sh... - 05.10.2016, 15:35
Re: Admin system for beginners - by AndySedeyn - 05.10.2016, 18:21
Re: Admin system for beginners - by Stinged - 06.10.2016, 03:04

Forum Jump:


Users browsing this thread: 1 Guest(s)