02.01.2012, 09:05
Hello I upload is fun filerscripts
Maker : Me (ZzzzZ)
what you received:
Sorry my bad english :S
Pictures:
Maker : Me (ZzzzZ)
what you received:
- Kick
- Weapon(m4,tec9,teargas)
- Health (150, armour :150)
- Car (Sultan)
Код:
// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #include <zcmd> #define COLOR_ULTRARED 0xFF0606FF CMD:fun(playerid,params[]) { new fun; fun = random(4); switch(fun) { case 0: { SetPlayerHealth(playerid,150); SetPlayerArmour(playerid,150); new name[MAX_PLAYER_NAME]; new string[256]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"%s fun type:health:150 armour :150 won.",name); SendClientMessageToAll(COLOR_ULTRARED,string); } case 1: { GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,32,99999); GivePlayerWeapon(playerid,17,99999); new name[MAX_PLAYER_NAME]; new string[256]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"%s fun type :weapons won.",name); SendClientMessageToAll(COLOR_ULTRARED,string); } case 2: { new string[64]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"%s fun type: Car won.",name); SendClientMessageToAll(0xaac013AA,string); new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X, Y, Z); CreateVehicle(411, X, Y, Z, 82.2873, 2, 20, 60); } case 3: { GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,32,99999); GivePlayerWeapon(playerid,17,99999); new name[MAX_PLAYER_NAME]; new string[256]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"%s fun type:kick won.",name); SendClientMessageToAll(COLOR_ULTRARED,string); Kick(playerid); } } return 1; }
Pictures:
![](http://noob.hu/2012/01/02/sa-mp-003.png)