12.07.2014, 04:19
Quote:
#include a_samp #include zcmd #define azul 0x0000A0FF #define amarelo 0xFFFF00FF new arma1, arma2, arma3, arma4, arma5, arma6, arma7, arma8, arma9, arma10, arma11; new ammo1, ammo2, ammo3, ammo4, ammo5, ammo6, ammo7, ammo8, ammo9, ammo10, ammo11; public OnFilterScriptInit() { print("\n==========================="); print(" Sistema de Mochila by: joao"); print("===========================\n"); return 1; } CMD:creditos(playerid) { SendClientMessage(playerid,azul,"------------[CREDITOS]------------"); SendClientMessage(playerid,amarelo,"Comando mochila feito por {FFFFFF}joaot"); return 1; } CMD:mochila(playerid) { SendClientMessage(playerid,azul,"Use /guardar para guardar suas armas,"); SendClientMessage(playerid,amarelo,"Use /pegar para pegar suas armas."); return 1; } CMD:guardar(playerid) { GetPlayerWeaponData(playerid, 1,arma1, ammo1);//GUARDA AS ARMA GetPlayerWeaponData(playerid, 2,arma2, ammo2); GetPlayerWeaponData(playerid, 3,arma3, ammo3); GetPlayerWeaponData(playerid, 4,arma4, ammo4); GetPlayerWeaponData(playerid, 5,arma5, ammo5); GetPlayerWeaponData(playerid, 6,arma6, ammo6); GetPlayerWeaponData(playerid, 7,arma7, ammo7); GetPlayerWeaponData(playerid, 8,arma8, ammo; GetPlayerWeaponData(playerid, 9,arma9, ammo9); GetPlayerWeaponData(playerid, 10,arma10, ammo10); GetPlayerWeaponData(playerid, 11,arma11, ammo11); SendClientMessage(playerid,azul,"Vocк guardou suas armas."); ResetPlayerWeapons(0);// RESETA AS ARMA return 1; } CMDegar(playerid) { GivePlayerWeapon(playerid, arma1, ammo1);// PEGA AS ARMA GivePlayerWeapon(playerid, arma2, ammo2); GivePlayerWeapon(playerid, arma3, ammo3); GivePlayerWeapon(playerid, arma4, ammo4); GivePlayerWeapon(playerid, arma5, ammo5); GivePlayerWeapon(playerid, arma6, ammo6); GivePlayerWeapon(playerid, arma7, ammo7); GivePlayerWeapon(playerid, arma8, ammo; GivePlayerWeapon(playerid, arma9, ammo9); GivePlayerWeapon(playerid, arma10, ammo10); GivePlayerWeapon(playerid, arma11, ammo11); SendClientMessage(playerid,amarelo,"Vocк pegou suas armas."); return 1; } |