SA-MP Forums Archive
I need help scripters. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help scripters. (/showthread.php?tid=124742)



I need help scripters. - Dmitriy_Starcev - 31.01.2010

I'm very bad speak English.But I think you can help me.

Hello dear scripters.

Here are faced with this problem. We should do the command / unban [nick]. Ban the account is issued, not as standard, but simply pBanned == 1, it means the player banned, but it does not play a special role. The most important thing was that this very function, although the standard, though not standard. Bring you our gratitude in advance. If this issue was discussed, I apologize, because I'm from Russia, and do not know much English.

Beforehand many thanks...


Re: I need help scripters. - mamorunl - 31.01.2010

Use your ban-command and let it change the pBanned=1 to pBanned=0


Re: I need help scripters. - Dmitriy_Starcev - 31.01.2010

Quote:
Originally Posted by mamoru
Use your ban-command and let it change the pBanned=1 to pBanned=0
I just do not know even close to do it. I am not new to scripting, but it is for me something new.


Re: I need help scripters. - jasonnw666 - 31.01.2010

i don't understand
u want write in the file of the player pBanned == 1?


Re: I need help scripters. - Dmitriy_Starcev - 31.01.2010

Quote:
Originally Posted by jasonnw666
i don't understand
u want write in the file of the player pBanned == 1?
Oh no ... this variable in your account is already created. Just look:
In standard fashion GODFATHER, ban goes well, pLevel = -999, pAdmin = pLevel.
And the ability for / ban, just do pBanned = 1, and at the entrance should check if pBanned = 1 - then the account banned. So I want a command / unban for the admin in the game, that every time you do not climb on the FTP.