
SISTEMA DINHEIRO SUJO + LAVAR DINHEIRO MTA (SEM BUG v2)
RosaScripter https://www.sendspace.com/file/pa4nsr


RosaScripter https://www.sendspace.com/file/pa4nsr


| VERSÃO ATUALIZADA |
| VERSÃO ANTIGA |

//Map Information//////////////////////////////////////////////////////////////////////////////////////////////// /* Exported on "2020-04-16 21:16:44" by "David_Estanislau" Created by "David_Estanislau" */ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// //Objects//////////////////////////////////////////////////////////////////////////////////////////////////////// new tmpobjid; tmpobjid = CreateDynamicObject(19378, 1692.736083, -1379.955932, 3259.985351, 180.000000, 90.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "walp45S", 0x00000000); tmpobjid = CreateDynamicObject(19378, 1692.736083, -1390.436035, 3259.985351, 180.000000, 90.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "walp45S", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1687.828857, -1379.793457, 3261.745605, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1697.627807, -1379.793457, 3261.745605, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1692.737426, -1375.513793, 3261.745605, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1692.737426, -1375.513793, 3265.196289, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1697.627807, -1379.793457, 3265.245361, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1687.828857, -1379.793457, 3265.235595, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1692.718505, -1384.603149, 3265.235595, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1684.149658, -1384.603149, 3261.793945, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 1701.189819, -1384.593139, 3261.793945, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1687.820068, -1389.574829, 3261.734863, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1697.629394, -1389.574829, 3261.734863, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1697.639404, -1389.574829, 3265.205322, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1687.818847, -1389.574829, 3265.205322, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1692.739135, -1388.824951, 3265.205322, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1692.739135, -1388.824951, 3259.325439, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1685.969116, -1388.834960, 3262.036865, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1699.479003, -1388.834960, 3262.036865, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1701.179565, -1384.725341, 3261.796630, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1701.179565, -1384.725341, 3265.196289, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1684.178100, -1384.725341, 3265.196289, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19460, 1684.178100, -1384.725341, 3261.726806, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "alax1_las", 0x00000000); tmpobjid = CreateDynamicObject(19453, 1689.823364, -1388.966796, 3261.943603, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 16639, "a51_labs", "ws_trainstationwin1", 0x00000000); tmpobjid = CreateDynamicObject(2207, 1693.536743, -1386.248657, 3260.050292, 0.000000, 0.000000, 180.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3629, "arprtxxref_las", "dirtywhite", 0x00000000); tmpobjid = CreateDynamicObject(14455, 1695.354125, -1388.591186, 3261.708007, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3629, "arprtxxref_las", "dirtywhite", 0x00000000); tmpobjid = CreateDynamicObject(14455, 1685.743408, -1388.591186, 3261.708007, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3629, "arprtxxref_las", "dirtywhite", 0x00000000); tmpobjid = CreateDynamicObject(19610, 1692.040649, -1386.524902, 3260.967529, -89.999992, 313.734954, 172.334579, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "black64", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10765, "airportgnd_sfse", "black64", 0x00000000); tmpobjid = CreateDynamicObject(2263, 1692.341308, -1386.939697, 3260.947998, -0.000104, 0.000143, 38.600204, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 19894, "laptopsamp1", "laptopscreen2", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10765, "airportgnd_sfse", "black64", 0x00000000); tmpobjid = CreateDynamicObject(2263, 1691.745117, -1386.133666, 3260.947998, 0.000104, -0.000143, -141.400665, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "black64", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10765, "airportgnd_sfse", "black64", 0x00000000); tmpobjid = CreateDynamicObject(2194, 1693.780639, -1387.056152, 3261.092285, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 1, 6282, "beafron2_law2", "eris_3", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 3653, "beachapts_lax", "Grass_dry_64HV", 0x00000000); tmpobjid = CreateDynamicObject(19443, 1699.116577, -1376.791015, 3261.903076, 180.000000, 270.000000, 180.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3653, "beachapts_lax", "eastwall4_LAe2", 0x00000000); tmpobjid = CreateDynamicObject(19443, 1698.966430, -1378.502441, 3262.544433, 180.000000, 270.000000, 180.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3653, "beachapts_lax", "eastwall4_LAe2", 0x00000000); tmpobjid = CreateDynamicObject(19443, 1698.966430, -1380.112670, 3263.225097, 180.000000, 270.000000, 180.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3653, "beachapts_lax", "eastwall4_LAe2", 0x00000000); tmpobjid = CreateDynamicObject(19443, 1698.966430, -1381.852416, 3262.544433, 180.000000, 270.000000, 180.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3653, "beachapts_lax", "eastwall4_LAe2", 0x00000000); tmpobjid = CreateDynamicObject(19443, 1699.116577, -1383.571411, 3261.903076, 180.000000, 270.000000, 180.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3653, "beachapts_lax", "eastwall4_LAe2", 0x00000000); tmpobjid = CreateDynamicObject(2395, 1694.271240, -1387.947998, 3260.121337, 630.000000, 180.000000, 270.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14407, "carter_block", "zebra_skin", 0x00000000); tmpobjid = CreateDynamicObject(2001, 1688.484130, -1376.046752, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 1, 14407, "carter_block", "zebra_skin", 0xFF9966CC); tmpobjid = CreateDynamicObject(2001, 1697.175048, -1376.046752, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 1, 14407, "carter_block", "zebra_skin", 0xFF9966CC); tmpobjid = CreateDynamicObject(19462, 1686.291015, -1384.653198, 3261.793945, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall2", 0x96FFFFFF); tmpobjid = CreateDynamicObject(19462, 1700.101806, -1384.653198, 3261.793945, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall2", 0x96FFFFFF); tmpobjid = CreateDynamicObject(19378, 1692.716064, -1379.955932, 3263.866210, 180.000000, 90.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "ab_hosWallUpr", 0x00000000); tmpobjid = CreateDynamicObject(19378, 1692.716064, -1389.756103, 3263.853759, 180.000000, 90.000000, 90.000000, -1, -1, -1, 50.00, 50.00); SetDynamicObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "ab_hosWallUpr", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateDynamicObject(1714, 1693.065795, -1388.098632, 3260.071289, 0.000000, 0.000000, -155.000015, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(1555, 1697.603393, -1380.930419, 3260.056396, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(19309, 1692.046386, -1386.537719, 3260.754638, 0.000143, 0.000104, 128.599700, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(19808, 1692.208251, -1386.737792, 3260.877441, -0.000104, 0.000135, 38.600204, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(1663, 1693.630859, -1385.032714, 3260.541748, 0.000000, 0.000000, -18.999998, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(1663, 1692.579711, -1384.903320, 3260.541748, 0.000000, 0.000000, -2.399989, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2894, 1693.213745, -1386.613037, 3260.842041, 0.000000, 0.000000, -20.399995, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(1703, 1689.385131, -1376.130859, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(1703, 1691.864868, -1376.130859, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(1703, 1694.325683, -1376.130859, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(16779, 1692.743041, -1380.566040, 3263.873779, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2315, 1693.358764, -1378.685302, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2315, 1690.968750, -1378.685302, 3260.071289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(11726, 1692.973754, -1386.457397, 3263.482421, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2853, 1691.275512, -1378.665649, 3260.571777, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2854, 1694.701660, -1378.710815, 3260.561767, 0.000000, 0.000000, 20.700000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(19835, 1691.847290, -1378.638549, 3260.641845, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(19835, 1692.047485, -1378.788696, 3260.641845, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(19835, 1691.817260, -1378.878784, 3260.641845, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(19835, 1691.867309, -1387.069091, 3260.912109, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2267, 1687.946044, -1381.784179, 3261.902587, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2258, 1687.953247, -1378.019897, 3261.912353, 0.000000, 0.000000, 90.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2276, 1692.896972, -1376.090942, 3261.972656, 0.000000, 0.000000, 0.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2261, 1697.034912, -1386.636108, 3261.321044, 0.000000, 0.000000, -90.000000, -1, -1, -1, 50.00, 50.00); tmpobjid = CreateDynamicObject(2266, 1688.413818, -1386.685791, 3261.372558, 0.000000, 0.000000, -270.000000, -1, -1, -1, 50.00, 50.00);



|||||||||||||||||||||||||||||||||||||
|||| Lista de Organizaзхes ||||
|||| 1 - Policia Militar ||||
|||| 2 - Bope ||||
|||| 3 - Policia Civil ||||
|||| 4 - Policia Federal ||||
|||| 5 - Groove Streeet Families ||||
|||| 6 - Front Yard Ballas ||||
|||| 7 - Varrio Los Aztecas ||||
|||| 8 - Los Santos Vagos ||||
|||| 9 - Comando Vermelho ||||
|||| 10 - Hitman ||||
|||| 11 - Instrutor ||||
|||| 12 - Alqaeda ||||
|||| 13 - Taxista ||||
|||| 13 - Exercito ||||
|||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||
||Lista de Cores Organizaзхes || Cores ||
||Policia Militar || 0x251BE0C8 ||
||Bope || 0x292323C8 ||
||Policia Civil || 0x734646AA ||
||Policia Federal || 0x382A2AFF ||
||Groove Street || 0x35C930AA ||
||Ballas || 0xC930B8AA ||
||Aztecas || 0x4F30C9AA ||
||Vagos || 0xBFE30EAA ||
||Comando Vermelho || 0xFF0022AA ||
||Hitman || 0x878787AA ||
||Instrutor || 0x0033FFAA ||
||Alqaeda || 0x734545AA ||
||Taxista || 0xBEE815AA ||
||Exercito || 0x388A51AA ||
||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||
|||| Lista de Empregos ||||
|||| 1 - Lixeiro | Gari ||||
|||| 2 - Advogado ||||
|||| 3 - Motorista Busao ||||
|||| 4 - Vendedor de Armas ||||
|||| 5 - Vendedor de Drogas ||||
|||| 6 - Prostituta ||||
|||||||||||||||||||||||||||||||||||||
*/
// =============================================================================
#include <a_samp>
#include <Dini>
#define Empregos 20
#define CONTAS "Players/%s.ini" // Onde vai salvar tudo ;z
#define CorPolicia 0x251BE0C8
#define CorBope 0x292323C8
#define CorPC 0x734646AA
#define CorPF 0x382A2AFF
#define CorGroove 0x35C930AA
#define CorBallas 0xC930B8AA
#define CorAztecas 0x4F30C9AA
#define CorVagos 0xBFE30EAA
#define CorCV 0xFF0022AA
#define CorHitman 0x878787AA
#define CorInstrutor 0x0033FFAA
#define CorAlqaeda 0x734545AA
#define CorTaxista 0xBEE815AA
#define CorExercito 0x388A51AA
enum PInfo
{
pMembro,
pLider,
pProfissao
}
new LipeStrondaInfo[MAX_PLAYERS][PInfo];
// =============================================================================
public OnFilterScriptInit()
{
print("FilterScript Ligado ;D by: Lipe_Stronda");
return 1;
}
// =============================================================================
public OnFilterScriptExit()
{
print("FilterScript Desligado");
return 1;
}
// =============================================================================
public OnPlayerConnect(playerid)
{
SetarPlayer(playerid);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
SalvarPlayer(playerid);
return 1;
}
// =============================================================================
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/rg", cmdtext, true, 8) == 0)
{
Rg(playerid);
return 1;
}
if (strcmp("/policiamilitar", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 1;
return 1;
}
if (strcmp("/bope", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 2;
return 1;
}
if (strcmp("/policiacivil", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 3;
return 1;
}
if (strcmp("/policiafederal", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 4;
return 1;
}
if (strcmp("/groovestreet", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 5;
return 1;
}
if (strcmp("/ballas", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 6;
return 1;
}
if (strcmp("/aztecas", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 7;
return 1;
}
if (strcmp("/vagos", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 8;
return 1;
}
if (strcmp("/comandovermelho", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 9;
return 1;
}
if (strcmp("/hitman", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 10;
return 1;
}
if (strcmp("/instrutor", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 11;
return 1;
}
if (strcmp("/alqaeda", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 12;
return 1;
}
if (strcmp("/taxista", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 13;
return 1;
}
if (strcmp("/exercito", cmdtext, true, 8) == 0)
{
LipeStrondaInfo[playerid][pLider] = 14;
return 1;
}
if (strcmp("/empregos", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_LIST, "Escolha Um Emprego", "Lixeiro\nAdvogado\nMotorista de Onibus\nVendedor de Armas\nVendedor de Armas\nProstituta", "Selecionar", "Cancelar");
return 1;
}
return 0;
}
// =============================================================================
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 20)
{
if(!response)
return true;
else
{
switch (listitem)
{
case 0:
{
if(LipeStrondaInfo[playerid][pProfissao] >= 1) return SendClientMessage(playerid, -1, "Vocк jб tem uma profissгo!!!");
LipeStrondaInfo[playerid][pProfissao] = 1; // Lixeiro
SendClientMessage(playerid, -1, "Parabйns Vocк Agora й uma pessoa trabalhadora ;D");
SendClientMessage(playerid, -1, "Seu Novo Emprego: {1B70E0}Lixeiro");
}
case 1:
{
if(LipeStrondaInfo[playerid][pProfissao] >= 1) return SendClientMessage(playerid, -1, "Vocк jб tem uma profissгo!!!");
LipeStrondaInfo[playerid][pProfissao] = 2; // Advogado
SendClientMessage(playerid, -1, "Parabйns Vocк Agora й uma pessoa trabalhadora ;D");
SendClientMessage(playerid, -1, "Seu Novo Emprego: {1B70E0}Advogado");
}
case 2:
{
if(LipeStrondaInfo[playerid][pProfissao] >= 1) return SendClientMessage(playerid, -1, "Vocк jб tem uma profissгo!!!");
LipeStrondaInfo[playerid][pProfissao] = 3; // Motorista de Onibus
SendClientMessage(playerid, -1, "Parabйns Vocк Agora й uma pessoa trabalhadora ;D");
SendClientMessage(playerid, -1, "Seu Novo Emprego: {1B70E0}Motorista de Onibus");
}
case 3:
{
if(LipeStrondaInfo[playerid][pProfissao] >= 1) return SendClientMessage(playerid, -1, "Vocк jб tem uma profissгo!!!");
LipeStrondaInfo[playerid][pProfissao] = 4; // Vendedor de Armas
SendClientMessage(playerid, 0xFF0000AA, "Parabйns Vocк Agora й uma pessoa trabalhadora ;D");
SendClientMessage(playerid, 0xFF0000AA, "Seu Novo Emprego: {1B70E0}Vendedor de Armas");
}
case 4:
{
if(LipeStrondaInfo[playerid][pProfissao] >= 1) return SendClientMessage(playerid, -1, "Vocк jб tem uma profissгo!!!");
LipeStrondaInfo[playerid][pProfissao] = 5; // Vendedor de Drogas
SendClientMessage(playerid, -1, "Parabйns Vocк Agora й uma pessoa trabalhadora ;D");
SendClientMessage(playerid, -1, "Seu Novo Emprego: {1B70E0}Vendedor de Drogas");
}
case 5:
{
if(LipeStrondaInfo[playerid][pProfissao] >= 1) return SendClientMessage(playerid, -1, "Vocк jб tem uma profissгo!!!");
LipeStrondaInfo[playerid][pProfissao] = 6; // Prostituta
SendClientMessage(playerid, -1, "Parabйns Vocк Agora й uma pessoa trabalhadora ;D");
SendClientMessage(playerid, -1, "Seu Novo Emprego: {1B70E0}Prostituta");
}
}
}
return 1;
}
return 1;
}
SalvarPlayer(playerid)
{
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome, sizeof(Nome));
new String[50];
format(String, sizeof(String), CONTAS, Nome);
dini_IntSet(String,"Lider", LipeStrondaInfo[playerid][pLider]);
dini_IntSet(String,"Membro", LipeStrondaInfo[playerid][pMembro]);
dini_IntSet(String,"Profissao", LipeStrondaInfo[playerid][pProfissao]);
return 1;
}
SetarPlayer(playerid)
{
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome, sizeof(Nome));
new String[50];
format(String, sizeof(String), CONTAS, Nome);
LipeStrondaInfo[playerid][pLider] = dini_Int(String, "Lider");
LipeStrondaInfo[playerid][pMembro] = dini_Int(String, "Membro");
LipeStrondaInfo[playerid][pProfissao] = dini_Int(String, "Profissгo");
return 1;
}
Rg(playerid)
{
new pNome[MAX_PLAYER_NAME];
GetPlayerName(playerid, pNome, sizeof(pNome));
new String[128];
SendClientMessage(playerid, 0xFF0000AA, "================================================");
format(String, sizeof(String),"Status De %s",pNome);
SendClientMessage(playerid, 0xFFFF00AA,String);
format(String, sizeof(String),"Lider: [%s] Id Organizaзгo [%d]",Org(playerid), LipeStrondaInfo[playerid][pLider]);
SendClientMessage(playerid, 0x1E90FFAA,String);
format(String, sizeof(String),"Membro: [%s] Id Organizaзгo: [%d]",Org(playerid), LipeStrondaInfo[playerid][pMembro]);
SendClientMessage(playerid, 0x1E90FFAA,String);
format(String, sizeof(String), "Profissгo:[%s] Id Profissгo: [%d]",Profs(playerid), LipeStrondaInfo[playerid][pProfissao]);
SendClientMessage(playerid, 0x1E90FFAA,String);
SendClientMessage(playerid, 0xFF0000AA, "================================================");
return 1;
}
stock Org(playerid)
{
new LipeStrondaOrgs[64];
if(LipeStrondaInfo[playerid][pMembro] == 0 && LipeStrondaInfo[playerid][pLider] == 0) { LipeStrondaOrgs = "Civil"; }
else if(LipeStrondaInfo[playerid][pMembro] == 1 || LipeStrondaInfo[playerid][pLider] == 1) { LipeStrondaOrgs = "Polнcia Militar"; }
else if(LipeStrondaInfo[playerid][pMembro] == 2 || LipeStrondaInfo[playerid][pLider] == 2) { LipeStrondaOrgs = "Bope"; }
else if(LipeStrondaInfo[playerid][pMembro] == 3 || LipeStrondaInfo[playerid][pLider] == 3) { LipeStrondaOrgs = "Policia Civil"; }
else if(LipeStrondaInfo[playerid][pMembro] == 4 || LipeStrondaInfo[playerid][pLider] == 4) { LipeStrondaOrgs = "Policia Federal"; }
else if(LipeStrondaInfo[playerid][pMembro] == 5 || LipeStrondaInfo[playerid][pLider] == 5) { LipeStrondaOrgs = "Groove Street"; }
else if(LipeStrondaInfo[playerid][pMembro] == 6 || LipeStrondaInfo[playerid][pLider] == 6) { LipeStrondaOrgs = "Ballas"; }
else if(LipeStrondaInfo[playerid][pMembro] == 7 || LipeStrondaInfo[playerid][pLider] == 7) { LipeStrondaOrgs = "Aztecas"; }
else if(LipeStrondaInfo[playerid][pMembro] == 8 || LipeStrondaInfo[playerid][pLider] == 8) { LipeStrondaOrgs = "Vagos"; }
else if(LipeStrondaInfo[playerid][pMembro] == 9 || LipeStrondaInfo[playerid][pLider] == 9) { LipeStrondaOrgs = "Comando Vermelho"; }
else if(LipeStrondaInfo[playerid][pMembro] == 10 || LipeStrondaInfo[playerid][pLider] == 10) { LipeStrondaOrgs = "Hitman"; }
else if(LipeStrondaInfo[playerid][pMembro] == 11 || LipeStrondaInfo[playerid][pLider] == 11) { LipeStrondaOrgs = "Instrutor"; }
else if(LipeStrondaInfo[playerid][pMembro] == 12 || LipeStrondaInfo[playerid][pLider] == 12) { LipeStrondaOrgs = "Alqaeda"; }
else if(LipeStrondaInfo[playerid][pMembro] == 13 || LipeStrondaInfo[playerid][pLider] == 13) { LipeStrondaOrgs = "Taxista"; }
else if(LipeStrondaInfo[playerid][pMembro] == 14 || LipeStrondaInfo[playerid][pLider] == 14) { LipeStrondaOrgs = "Exercito"; }
return LipeStrondaOrgs;
}
stock Profs(playerid)
{
new LipeStrondaProfs[64];
if(LipeStrondaInfo[playerid][pMembro] == 0 && LipeStrondaInfo[playerid][pLider] == 0) { LipeStrondaProfs = "Desempregado"; }
else if(LipeStrondaInfo[playerid][pProfissao] == 1 || LipeStrondaInfo[playerid][pProfissao] == 1) { LipeStrondaProfs = "Lixeiro"; }
else if(LipeStrondaInfo[playerid][pProfissao] == 2 || LipeStrondaInfo[playerid][pProfissao] == 2) { LipeStrondaProfs = "Advogado"; }
else if(LipeStrondaInfo[playerid][pProfissao] == 3 || LipeStrondaInfo[playerid][pProfissao] == 3) { LipeStrondaProfs = "Motorista de Onibus"; }
else if(LipeStrondaInfo[playerid][pProfissao] == 4 || LipeStrondaInfo[playerid][pProfissao] == 4) { LipeStrondaProfs = "Vendedor de Armas"; }
else if(LipeStrondaInfo[playerid][pProfissao] == 5 || LipeStrondaInfo[playerid][pProfissao] == 5) { LipeStrondaProfs = "Vendedor de Drogas"; }
else if(LipeStrondaInfo[playerid][pProfissao] == 6 || LipeStrondaInfo[playerid][pProfissao] == 6) { LipeStrondaProfs = "Prostituta"; }
return LipeStrondaProfs;
}