Ferar

Banku script+rep

Recommended Posts


jei bankomatas tj imk tik kordinates pasikeisk

//------------------------------------------------1----------------------------------------------------

if(!strcmp(cmdtext, "/balansas", true))

{

if(PlayerToPoint(1, playerid, -2476.942382,2286.712158,4.984375))

{

new msg[128];

format(msg,sizeof(msg),"Jusu banko saskaitos likutis: %i LT",playerDB[playerid][banke]);

SendClientMessage(playerid,0xFF3E9EFF,msg);

return 1;

}

}

if(!strcmp(cmdtext, "/paimt", true, 6))

{

if(PlayerToPoint(1, playerid, -2476.942382,2286.712158,4.984375))

{

if(cmdtext[6]==0 || !IsNumeric(cmdtext[7]))

{

SendClientMessage(playerid,0xFF3E9EFF,"* Paimt pinigu is banko: /paimt [kiek]");

return 1;

}

new kiek = StringToInt(cmdtext[7]);

if(playerDB[playerid][banke] < kiek)

{

SendClientMessage(playerid,0xE60000FF,"* Banke, jus tiek neturite!");

return 1;

}

playerDB[playerid][banke]-=kiek;

GivePlayerMoneyA(playerid,kiek);

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

return 1;

}

}

//-------------------------------------2----------------------------------------

if(!strcmp(cmdtext, "/balansas", true))

{

if(PlayerToPoint(1, playerid, -1968.019409,296.219635,35.171875))

{

new msg[128];

format(msg,sizeof(msg),"Jusu banko saskaitos likutis: %i LT",playerDB[playerid][banke]);

SendClientMessage(playerid,0xFF3E9EFF,msg);

return 1;

}

}

if(!strcmp(cmdtext, "/paimt", true, 6))

{

if(PlayerToPoint(1, playerid, -1968.019409,296.219635,35.171875))

{

if(cmdtext[6]==0 || !IsNumeric(cmdtext[7]))

{

SendClientMessage(playerid,0xFF3E9EFF,"* Paimt pinigu is banko: /paimt [kiek]");

return 1;

}

new kiek = StringToInt(cmdtext[7]);

if(playerDB[playerid][banke] < kiek)

{

SendClientMessage(playerid,0xE60000FF,"* Banke, jus tiek neturite!");

return 1;

}

playerDB[playerid][banke]-=kiek;

GivePlayerMoneyA(playerid,kiek);

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

return 1;

}

}

//---------------------------------------3--------------------------------------

if(!strcmp(cmdtext, "/balansas", true))

{

if(PlayerToPoint(1, playerid, -2138.507080,223.615173,35.359375))

{

new msg[128];

format(msg,sizeof(msg),"Jusu banko saskaitos likutis: %i LT",playerDB[playerid][banke]);

SendClientMessage(playerid,0xFF3E9EFF,msg);

return 1;

}

}

if(!strcmp(cmdtext, "/paimt", true, 6))

{

if(PlayerToPoint(1, playerid, -2138.507080,223.615173,35.359375))

{

if(cmdtext[6]==0 || !IsNumeric(cmdtext[7]))

{

SendClientMessage(playerid,0xFF3E9EFF,"* Paimt pinigu is banko: /paimt [kiek]");

return 1;

}

new kiek = StringToInt(cmdtext[7]);

if(playerDB[playerid][banke] < kiek)

{

SendClientMessage(playerid,0xE60000FF,"* Banke, jus tiek neturite!");

return 1;

}

playerDB[playerid][banke]-=kiek;

GivePlayerMoneyA(playerid,kiek);

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

return 1;

}

}

//----------------------------------------4-------------------------------------

if(!strcmp(cmdtext, "/balansas", true))

{

if(PlayerToPoint(1, playerid, -2017.960205,-41.689403,35.324588))

{

new msg[128];

format(msg,sizeof(msg),"Jusu banko saskaitos likutis: %i LT",playerDB[playerid][banke]);

SendClientMessage(playerid,0xFF3E9EFF,msg);

return 1;

}

}

if(!strcmp(cmdtext, "/paimt", true, 6))

{

if(PlayerToPoint(1, playerid, -2017.960205,-41.689403,35.324588))

{

if(cmdtext[6]==0 || !IsNumeric(cmdtext[7]))

{

SendClientMessage(playerid,0xFF3E9EFF,"* Paimt pinigu is banko: /paimt [kiek]");

return 1;

}

new kiek = StringToInt(cmdtext[7]);

if(playerDB[playerid][banke] < kiek)

{

SendClientMessage(playerid,0xE60000FF,"* Banke, jus tiek neturite!");

return 1;

}

playerDB[playerid][banke]-=kiek;

GivePlayerMoneyA(playerid,kiek);

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

return 1;

}

}

//--------------------------------------------------------------------------------------------------------------

o ce prie pickups

if(pickupid == pickups[0][bankas])

{

SetPlayerInterior(playerid,12);

SetPlayerPos(playerid,2324.33,-1144.79,1050.71);

SendClientMessage(playerid,COLOR,"Swedbank Sveiki atvyke! (banko komandos: /padet /paimt /balansas /iseit)");

SendClientMessage(playerid,COLOR,"Sveiki atvyke");

SendClientMessage(playerid,COLOR,"Meniu:");

SendClientMessage(playerid,COLOR,"/padet");

SendClientMessage(playerid,COLOR,"/paimt");

SendClientMessage(playerid,COLOR,"/balansas");

SendClientMessage(playerid,COLOR,"/iseit");

return 1;

}

if(pickupid == pickups[0][bank])

{

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

SendClientMessage(playerid,COLOR,"Swedbank");

SendClientMessage(playerid,COLOR,"Meniu:");

SendClientMessage(playerid,COLOR,"/Paimt");

SendClientMessage(playerid,COLOR,"/Balansas");

return 1;

}

if(pickupid == pickups[0][bank1])

{

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

SendClientMessage(playerid,COLOR,"Swedbank");

SendClientMessage(playerid,COLOR,"Meniu:");

SendClientMessage(playerid,COLOR,"/Paimt");

SendClientMessage(playerid,COLOR,"/Balansas");

return 1;

}

if(pickupid == pickups[0][bank2])

{

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

SendClientMessage(playerid,COLOR,"Swedbank");

SendClientMessage(playerid,COLOR,"Meniu:");

SendClientMessage(playerid,COLOR,"/Paimt");

SendClientMessage(playerid,COLOR,"/Balansas");

return 1;

}

if(pickupid == pickups[0][bank3])

{

ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.000000, 0, 0, 0, 0, -1);

SendClientMessage(playerid,COLOR,"Swedbank");

SendClientMessage(playerid,COLOR,"Meniu:");

SendClientMessage(playerid,COLOR,"/Paimt");

SendClientMessage(playerid,COLOR,"/Balansas");

return 1;

}

kopijuota is gta online

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

Nu zinau bet as nemoku su mta daryt :/ gali imest prie wm ir sportiniu masinu... Busiu labai dekingas:)

-- Papildyta --

Nu zinau bet as nemoku su mta daryt :/ gali imest prie wm ir sportiniu masinu man tos wetos swarbiausios... Busiu labai dekingas:)

-- Papildyta --

Ups 2 kartus ta pati parasiau :/

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį
Svečias
Ši tema yra užrakinta.

  • Šiame puslapyje naršo:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.

  • eneba
  • eneba
  • eneba



  • SuperGames programele
  • SuperGames programele