i need a /warn command please!
#1

Please Guys, I Need a /warn Command. it " if player has been given 3 wars, the 4th will get banned. " please.

Thanks
Reply
#2

Well, what gamemode are you using?
Reply
#3

GTA-RP
Reply
#4

Well I've never even tried it, but you could possibly save a line in the playerfile which would be something like "Warns".
The Warns would be "0" as default, and you can create a /warn command for the admins, which will set the warns.
When an admin uses the /warn cmd, it will set the players warns:
PlayerInfo[giveplayerid][pWarns] = 1+PlayerInfo[giveplayerid][pWarns];

and

somewhere.. if(PlayerInfo[playerid][pWarns] == 3)
Ban
Reply
#5

Quote:
Originally Posted by Jay420
Well I've never even tried it, but you could possibly save a line in the playerfile which would be something like "Warns".
The Warns would be "0" as default, and you can create a /warn command for the admins, which will set the warns.
When an admin uses the /warn cmd, it will set the players warns:
PlayerInfo[giveplayerid][pWarns] = 1+PlayerInfo[giveplayerid][pWarns];

and

somewhere.. if(PlayerInfo[playerid][pWarns] == 3)
Ban
Jay420, can you please PM me Thanks.
Reply
#6

Quote:
Originally Posted by spaceflame784
Jay420, can you please PM me Thanks.
That one is completely off topic. If you want help, post your thread here, on the forums and everyone will do their best to help you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)