27.12.2012, 15:54
(
Последний раз редактировалось qkac1234; 12.01.2013 в 20:15.
)
This is my first FS. I hope you will like it.
cmds:
/weaponon
/weaponoff
cmds:
/weaponon
/weaponoff
Код:
// made by Qkac , special thanks to samp wiki :) #include <a_samp> #include <zcmd> COMMAND:weaponon(playerid, params[]) { SendClientMessage(playerid, 0xFFFFFFFF,"Weapons loaded."); GivePlayerWeapon(playerid, 26, 500); //shotgun GivePlayerWeapon(playerid, 24, 500); //pistol GivePlayerWeapon(playerid, 29, 500); //mp5 SetPlayerHealth (playerid,100.0); return 1; } COMMAND:weaponoff(playerid, params[]) { #define INFINITY (Float:0x7F800000) SendClientMessage(playerid, 0xFFFFFFFF,"Godmode has been actived. Now, you cant use weapons."); ResetPlayerWeapons(playerid); SetPlayerHealth (playerid,INFINITY); return 1; }