Guest kokoS Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 diky :rap: a nevíš jak dát tou banku někde jinde? Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 1.)topic starsi ako dva mesiace 2.)zmen si suradky ne? Link to comment Share on other sites More sharing options...
Guest kokoS Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 ":3fmrl9m6]1.)topic starsi ako dva mesiace2.)zmen si suradky ne? skoušel jsem to,ale banka nikde xD Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 tak si ku tomu vytvor pickup a tie suradky daj tam kde jem pickup a skus to Link to comment Share on other sites More sharing options...
Guest FaNtOm Odesláno: 22. Prosinec, 2009 Share Odesláno: 22. Prosinec, 2009 je to good ale ako na to urobím Pickup?? pls help me Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 22. Prosinec, 2009 Share Odesláno: 22. Prosinec, 2009 TUT ZDE ID pickupu http://wiki.sa-mp.com/wiki/Model_ID Link to comment Share on other sites More sharing options...
Guest FaNtOm Odesláno: 22. Prosinec, 2009 Share Odesláno: 22. Prosinec, 2009 dík.. -- stř 20. led 2010 17:12:58 -- je to dobry ale ako urobim vela bank?pls Link to comment Share on other sites More sharing options...
Guest Igos Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Pls, CHEF Poradis mi? Skype - Deathigos . Link to comment Share on other sites More sharing options...
Vidie 5 Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Pls, CHEF Poradis mi? Skype - Deathigos . Chef už je Banned Link to comment Share on other sites More sharing options...
Guest Igos Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Pls, a ty mi nepomozes? Link to comment Share on other sites More sharing options...
Vidie 5 Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Pls, a ty mi nepomozes? Sorry, pomahat novackum je pod mou uroven Link to comment Share on other sites More sharing options...
Guest Igos Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Pls, aspon tu banku a register, ja to vobec nwm. Link to comment Share on other sites More sharing options...
Vidie 5 Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Pls, aspon tu banku a register, ja to vobec nwm. Register? Link to comment Share on other sites More sharing options...
Guest Igos Odesláno: 31. Leden, 2010 Share Odesláno: 31. Leden, 2010 Jj, a mohol by si mi napisat teraz na - Skype - Deathigos ??? Link to comment Share on other sites More sharing options...
SparcoCZ 0 Odesláno: 7. Duben, 2010 Share Odesláno: 7. Duben, 2010 prosimvas poradte dal sem do modu tenhle TUT mam nastavenych 6 bankomatu ale kdyz stoupnu na pickup tak to nic nedela nwm jestly mam dobre to else if treba ulozit mam takto dcmd_ulozit(playerid, params[]) { if (IsPlayerInSphere(playerid, -2632.5195,1399.0237,7.0994,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -1551.6460,1159.2804,7.1875,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -1981.8604,134.5587,27.6875,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -2429.4243,-168.7449,35.3203,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -2714.1431,211.1485,4.3281,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -2672.6255,633.0665,14.4531,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } Link to comment Share on other sites More sharing options...
Vidie 5 Odesláno: 7. Duben, 2010 Share Odesláno: 7. Duben, 2010 prosimvas poradte dal sem do modu tenhle TUT mam nastavenych 6 bankomatu ale kdyz stoupnu na pickup tak to nic nedela nwm jestly mam dobre to else if treba ulozit mam takto dcmd_ulozit(playerid, params[]) { if (IsPlayerInSphere(playerid, -2632.5195,1399.0237,7.0994,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -1551.6460,1159.2804,7.1875,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -1981.8604,134.5587,27.6875,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -2429.4243,-168.7449,35.3203,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -2714.1431,211.1485,4.3281,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } else if (IsPlayerInSphere(playerid, -2672.6255,633.0665,14.4531,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } Nemas mit else ale mas mit: if(IsPlayerInSphere(playerid,X,Y,Z,15) == 1 || if(IsPlayerInSphere(playerid,X,Y,Z,15) == 1 || if(IsPlayerInSphere(playerid,X,Y,Z,15) == 1) Link to comment Share on other sites More sharing options...
SparcoCZ 0 Odesláno: 7. Duben, 2010 Share Odesláno: 7. Duben, 2010 dcmd_ulozit(playerid, params[]) { if (IsPlayerInSphere(playerid, -2632.5195,1399.0237,7.0994,15) == 1)|| if (IsPlayerInSphere(playerid, -1551.6460,1159.2804,7.1875,15) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } takle nejakak to ma bejt jo ? -- stř 07. dub 2010 18:56:10 -- Udelal sem to takle: dcmd_ulozit(playerid, params[]) { if (IsPlayerInSphere(playerid, -2632.5195,1399.0237,7.0994,15) == 1) || if (IsPlayerInSphere(playerid, -1551.6460,1159.2804,7.1875,15) == 1) || if (IsPlayerInSphere(playerid, -1981.8604,134.5587,27.6875,15) == 1) || if (IsPlayerInSphere(playerid, -2429.4243,-168.7449,35.3203,15) == 1) || if (IsPlayerInSphere(playerid, -2714.1431,211.1485,4.3281,15) == 1) || if (IsPlayerInSphere(playerid, -2672.6255,633.0665,14.4531) == 1){ //funguje jenom v danych souradnicich (napr pickupu) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Částka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná částka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zůstatek na účtu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } Link to comment Share on other sites More sharing options...
Soliter 0 Odesláno: 21. Listopad, 2010 Share Odesláno: 21. Listopad, 2010 nemá tu někdo tu banku na pickup ? "help" Link to comment Share on other sites More sharing options...
XxM4st3rxX 3 Odesláno: 21. Listopad, 2010 Share Odesláno: 21. Listopad, 2010 Dobry tut hodi sa my! 10/10 Link to comment Share on other sites More sharing options...
-GSG-Nuke 1 Odesláno: 21. Listopad, 2010 Share Odesláno: 21. Listopad, 2010 nemá tu někdo tu banku na pickup ? "help" nemá tu někdo tu banku na pickup ? "help" Nic proti ale píšete už do nejméně 5 měsícu starého TUTu Porušení pravidel! Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 25. Prosinec, 2010 Share Odesláno: 25. Prosinec, 2010 Lidi mozem si tie suradnice pickupu a banky zmenit ze ? Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 25. Prosinec, 2010 Share Odesláno: 25. Prosinec, 2010 Lidi mozem si tie suradnice pickupu a banky zmenit ze ? Samozřejmě že jo Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Pocuvajte,ako mam spravit to ked chcem mat viacej bankomatov ??? Pickupy mam toto vsetko ... Len ked pridem na pickup a napisem prikaz nejde -- ned 26. pro 2010 2:32:13 -- Opravil som to a mam toto : C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : warning 215: expression has no effect C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : error 001: expected token: ";", but found ")" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : fatal error 107: too many error messages on one line if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15) == 1 || if(IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15) == 1 || if(IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15) == 1) Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15)) Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Nic moc .... C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1677) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1681) : warning 209: function "dcmd_vlozit" should return a value C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1682) : error 010: invalid function or declaration C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1692) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1696) : warning 209: function "dcmd_vybrat" should return a value C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1697) : error 010: invalid function or declaration C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1702) : error 003: declaration of a local variable must appear in a compound block C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1702) : error 032: array index out of bounds (variable "string") C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1702) : warning 215: expression has no effect C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1706) : error 010: invalid function or declaration dcmd_vlozit(playerid, params[]) { if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15))if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Eástka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná eástka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zustatek na úetu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } dcmd_vybrat(playerid, params[]) { if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15))if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /vybrat [Eástka]"); new castka2 = strval(params); if(castka2 > bank[playerid]) return SendClientMessage(playerid, COLOR_RED, "Špatná eástka!"); if(castka2 <= bank[playerid]){ bank[playerid] -= castka2; GivePlayerMoney(playerid, castka2); new string[256]; format(string, sizeof(string), "Vybral jsi: %d, zustatek na úetu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } dcmd_stav(playerid, params[]) { #pragma unused params if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15))new string[256]; format(string, sizeof(string), "Zustatek na vašem úetu einí: %d.", bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } return true; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now