Vice City Multiplayer
		VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: AcTiOnLiFe on September 11, 2011, 06:48:51 pm
		
			
			- 
				Help Anti Armour Pawn
for gups
Help How Create Colores For Pawno Script
Thnks
			 
			
			- 
				For Colours = 
#define 0xcolour you desire
You can use this color picker to make colors:
http://www.developingwebs.net/tools/color.php
For Anti Armour.. Its easy.
Add this to the bottom of the script.
[pawn]public Anti-Armour(playerid);
{
   GetPlayerArmour(playerid, >1);
   SendClientMessage(playerid, Color_Green, "Armours are forbidden in this server");
   Kick(playerid);
   return 1;
}[/pawn]
Armour and Health Anti-Hacks are easy to make. And next time,  search (http://forum.vicecitymultiplayer.com/index.php?action=search;params=eJwtjUEKAjEMRe_ixs1fNIk4eprSaQOj1Kl0qiL08KYym-T9F_gJ6R3WqKkfu-uHPtdBEwRnsMMFZPsKnsACOoEMGGLswHYlkIAJ4iA22Sq2pXx8LI9n1qZWNtRrvmtsvqz5u5tSm1HVrP__u_LpVk0n3eIwGmpcLP8Atb81lw..) the forums before asking.
			 
			
			- 
				lol failed fuzzy.
[pawn]public Anti-Armour(playerid);
{
   GetPlayerArmour(playerid, >1); 
   SendClientMessage(playerid, Color_Green, "Armours are forbidden in this server");
   Kick(playerid);
   return 1;
}[/pawn]
[pawn]GetPlayerArmour(playerid, >1);[/pawn]  wont doesn't work like this. It should be something like this [pawn]if(GetPlayerArmour(playerid) >0) { [/pawn] so the overall script should be something like;
[pawn]public Anti-Armour(playerid);
{
   if(GetPlayerArmour(playerid) >0) {
   SendClientMessage(playerid, Color_Green, "Armours are forbidden in this server");
   Kick(playerid);
       }
   return 1;
}[/pawn]
			 
			
			- 
				oh.. I did not test the script.
			
 
			
			- 
				Thanks