[FilterScript] Fun
#1

Hello I upload is fun filerscripts

Maker : Me (ZzzzZ)

what you received:
  • Kick
  • Weapon(m4,tec9,teargas)
  • Health (150, armour :150)
  • Car (Sultan)
COMMAND: /fun

Код:
 // 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;
}
Sorry my bad english :S
Pictures:
Reply


Messages In This Thread
Fun - by ZzzzZ - 02.01.2012, 09:05
Re: Fun - by [SP]Mr.Kakashi[WP] - 02.01.2012, 09:07
Re: Fun - by ZzzzZ - 02.01.2012, 09:18
Re: Fun - by Littlehelper - 02.01.2012, 09:19
Re: Fun - by Psymetrix - 02.01.2012, 09:22
Re: Fun - by [SP]Mr.Kakashi[WP] - 02.01.2012, 09:26
Re: Fun - by ZzzzZ - 02.01.2012, 09:33
Re: Fun - by Kaperstone - 02.01.2012, 10:26
Re: Fun - by ZzzzZ - 02.01.2012, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)