Anti Guns
#17

i make code now it look like this :

Код:
public OnPlayerUpdate(playerid){
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
new str[128];
new weaponid = GetPlayerWeapon(playerid);
if(weaponid == 38 )
{
format(str,sizeof(str),"[Security]: %s Kicked For Guns Hack !",Name);
SendClientMessageToAll(RED,str);
ResetPlayerWeapons(playerid);
Kick(playerid);
}
return 1;
}
Now I have 2 questions..

First question:
How to add this guns ids if player get that guns kick him to like with minigun.

This Is Unlegal Guns Ids :
Код:
 9,  26, 35,  36,  37, 16,  18,  39,  44, 45.
Second question:

How to do when player kick from server remove him weapons.

If you can please help
Reply


Messages In This Thread
Anti Guns - by Serifukas - 10.08.2011, 15:15
Re: Anti Guns - by ylleron - 10.08.2011, 15:19
Re: Anti Guns - by Riddick94 - 10.08.2011, 15:22
Re: Anti Guns - by ylleron - 10.08.2011, 15:30
[No subject] - by Serifukas - 10.08.2011, 15:30
Re: Anti Guns - by Riddick94 - 10.08.2011, 15:33
Re: Anti Guns - by ylleron - 10.08.2011, 15:33
Re: Anti Guns - by Serifukas - 10.08.2011, 15:47
Re: Anti Guns - by Riddick94 - 10.08.2011, 15:49
Re: Anti Guns - by Serifukas - 10.08.2011, 15:51
Re: Anti Guns - by Tanush123 - 10.08.2011, 17:37
Re: Anti Guns - by Serifukas - 11.08.2011, 11:59
Re: Anti Guns - by Tanush123 - 11.08.2011, 13:46
Re: Anti Guns - by Serifukas - 11.08.2011, 14:46
Re: Anti Guns - by MadeMan - 11.08.2011, 15:57
Re: Anti Guns - by Tanush123 - 11.08.2011, 17:26
Re: Anti Guns - by Serifukas - 11.08.2011, 18:58
Re: Anti Guns - by Tanush123 - 12.08.2011, 15:50
Re: Anti Guns - by Serifukas - 13.08.2011, 11:57

Forum Jump:


Users browsing this thread: 5 Guest(s)