Započeo kizla
•18. Sep. 2011.• ZaključanoSA-MP 0.3d RC2 test version
9,573
pregleda
26
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
95
Postovi:
20
Teme:
Pridružio se:Jan. 2010
18. Sep. 2011.
SA-MP 0.3d RC
Client/Server update SA-MP 0.3d RC2
- Added OnPlayerTakeDamage script callback for tracking damage events on a player
- Fixed problems with tow trucks losing their tow around other players
- Added DIALOG_STYLE_PASSWORD for ShowPlayerDialog() which shows a masked input box
- The audio stream will stop playing once the player is disconnected from the server
- Fixed problems playing certain audio IDs above 2000 in PlayerPlaySound
- Added /audiomsg command to disable audio stream URL messages in the chat
- The 0.3d server lists are now live
cessil has been working on some new models for SA-MP 0.3d.
Included in SA-MP 0.3d RC2 are replacement jail cell doors, a replacement SFPD interior model with the cell doors removed, taxi signs which can be attached to any vehicle.
OnPlayerTakeDamage is called when a player takes damage and loses health.
playerid is the player who has taken damage. issuerid might be the player responsible for the damage. If the player has lost health as the result of a fall or collision, the issuerid will be INVALID_PLAYER_ID. The Float:amount contains the amount of health lost by the player from this damage event. weaponid contains the weapon type which might have caused the damage, similar to OnPlayerDeath.
Izvor: http://forum.sa-mp.com/showthread.php?t=282775
Download: 0.3d files
Latest:
SA-MP 0.3d RC2 Client: http://team.sa-mp.com/RC/03d/sa-mp-0.3d-RC2-install.exe
SA-MP 0.3d RC2 Windows Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC2_win32.zip
SA-MP 0.3d RC2 Linux Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC2.tar.gz
Client/Server update SA-MP 0.3d RC2
- Added OnPlayerTakeDamage script callback for tracking damage events on a player
- Fixed problems with tow trucks losing their tow around other players
- Added DIALOG_STYLE_PASSWORD for ShowPlayerDialog() which shows a masked input box
- The audio stream will stop playing once the player is disconnected from the server
- Fixed problems playing certain audio IDs above 2000 in PlayerPlaySound
- Added /audiomsg command to disable audio stream URL messages in the chat
- The 0.3d server lists are now live
cessil has been working on some new models for SA-MP 0.3d.
Included in SA-MP 0.3d RC2 are replacement jail cell doors, a replacement SFPD interior model with the cell doors removed, taxi signs which can be attached to any vehicle.
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)OnPlayerTakeDamage is called when a player takes damage and loses health.
playerid is the player who has taken damage. issuerid might be the player responsible for the damage. If the player has lost health as the result of a fall or collision, the issuerid will be INVALID_PLAYER_ID. The Float:amount contains the amount of health lost by the player from this damage event. weaponid contains the weapon type which might have caused the damage, similar to OnPlayerDeath.
Izvor: http://forum.sa-mp.com/showthread.php?t=282775
Download: 0.3d files
Latest:
SA-MP 0.3d RC2 Client: http://team.sa-mp.com/RC/03d/sa-mp-0.3d-RC2-install.exe
SA-MP 0.3d RC2 Windows Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC2_win32.zip
SA-MP 0.3d RC2 Linux Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC2.tar.gz
Kingpin
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,082
Postovi:
71
Teme:
Pridružio se:Sep. 2010
18. Sep. 2011.
Opet nista posebno, mozda jedino
btw, kad god pitam u nekoj temi ili otvorim novu sa pitanjem "kada ce biti popravljen bug sa fakeanjem igraca", uvek mi obrisu post/temu, ocigledno da je njima stalo do broja igraca pa nebitno da li su oni fejkani, sto ce me definitivno naterati da prestanem sa SA:MP-om ukoliko se to ne popravi do izlaska R verzije
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid) malo posluzi.btw, kad god pitam u nekoj temi ili otvorim novu sa pitanjem "kada ce biti popravljen bug sa fakeanjem igraca", uvek mi obrisu post/temu, ocigledno da je njima stalo do broja igraca pa nebitno da li su oni fejkani, sto ce me definitivno naterati da prestanem sa SA:MP-om ukoliko se to ne popravi do izlaska R verzije
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
95
Postovi:
20
Teme:
Pridružio se:Jan. 2010
18. Sep. 2011.
nadamo se da ce to rijesiti taj problem....
P.S Slika sa DIALOG_STYLE_PASSWORD:
Da ubacite to morate samo zamijeniti DIALOG_STYLE_INPUT sa DIALOG_STYLE_PASSWORD i dobiti cete te "kruzice" 🙂
P.S Slika sa DIALOG_STYLE_PASSWORD:

Da ubacite to morate samo zamijeniti DIALOG_STYLE_INPUT sa DIALOG_STYLE_PASSWORD i dobiti cete te "kruzice" 🙂
Crime Lord
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
241 / 250 XP
Početnik(0)
868
Postovi:
16
Teme:
Pridružio se:Apr. 2009
18. Sep. 2011.
Gotti747 wrote on September 18, 2011, 10:49 am:
Opet nista posebno, mozda jedino
btw, kad god pitam u nekoj temi ili otvorim novu sa pitanjem "kada ce biti popravljen bug sa fakeanjem igraca", uvek mi obrisu post/temu, ocigledno da je njima stalo do broja igraca pa nebitno da li su oni fejkani, sto ce me definitivno naterati da prestanem sa SA:MP-om ukoliko se to ne popravi do izlaska R verzije
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid) malo posluzi.btw, kad god pitam u nekoj temi ili otvorim novu sa pitanjem "kada ce biti popravljen bug sa fakeanjem igraca", uvek mi obrisu post/temu, ocigledno da je njima stalo do broja igraca pa nebitno da li su oni fejkani, sto ce me definitivno naterati da prestanem sa SA:MP-om ukoliko se to ne popravi do izlaska R verzije
DIALOG_STYLE_PASSWORD napokon da su i ovo ubacili...
sto se tice fake-anja igraca slazem se s tobom...
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
95
Postovi:
20
Teme:
Pridružio se:Jan. 2010
18. Sep. 2011.

Kako u praksi radi OnPlayerTakeDamage 🙂
Kod:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new string;
format(string, sizeof(string), "Izgubio si %f Healtha. Ostetio te: %s, sa oruzjem ID: %i",amount, PlayerName(issuerid), weaponid);
SendClientMessage(playerid, -1, string);
return 1;
}
stock PlayerName(playerid)
{
new name;
GetPlayerName(playerid,name, sizeof(name));
return name;
}
Napomena: Taj callback se uvijek javlja kada te neko osteti na bilo koji nacin (lupi sakom, upuca, pregazi....)
Rookie
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
5 / 100 XP
Početnik(0)
0
Postovi:
70
Teme:
Pridružio se:Okt. 2010
18. Sep. 2011.
kizla wrote on September 18, 2011, 12:08 pm:

Kako u praksi radi OnPlayerTakeDamage 🙂
Kod:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new string;
format(string, sizeof(string), "Izgubio si %f Healtha. Ostetio te: %s, sa oruzjem ID: %i",amount, PlayerName(issuerid), weaponid);
SendClientMessage(playerid, -1, string);
return 1;
}
stock PlayerName(playerid)
{
new name;
GetPlayerName(playerid,name, sizeof(name));
return name;
}
Napomena: Taj callback se uvijek javlja kada te neko osteti na bilo koji nacin (lupi sakom, upuca, pregazi....)
jako nepotrebna stvar....
Legenda Foruma
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
12 / 250 XP
Početnik(1)
888
Postovi:
66
Teme:
Pridružio se:Okt. 2009
18. Sep. 2011.
BaÅ¡ sam razoÄaran, mogli su dodati da se i dialogu može mjenjati boja i sliÄno, ovo je jadno... edit: Ali nadam se da će dodati u sljedećem rc-u joÅ¡ viÅ¡e "korisnih" stvari...
@Gotti:
ZnaÄi samp trenutno ima manje od 2000 (pravih) igraÄa... heh...
@Gotti:
Quote
Postoji sigurno 150 servera koji fejkaju oko 20 igraÄa (prosjeÄno), sad recimo 150*20 su 3000.... A ako to uklone, ona statistika na www.sa-mp.com bi se mogla uvelike smanjiti (Å¡to pokazuje trenutaÄni broj igraÄa)...
ZnaÄi samp trenutno ima manje od 2000 (pravih) igraÄa... heh...
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
152
Postovi:
19
Teme:
Pridružio se:Avg. 2011
18. Sep. 2011.
Kako jbt led ak pise online Players Online: 24281 kako ce imat 2000 igraca ak 150*20 3000 ili 2000 koliko vec XD
18. Sep. 2011.
Quote from September 18, 2011, 12:40 pm:
jako nepotrebna stvar....
to ti mislis za tvoj rp server je to nepotrebno al ima servera sto im to treba (za clan warove i jos par stvari)
Crime Lord
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
924
Postovi:
29
Teme:
Pridružio se:Jun 2009
Legenda Foruma
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
12 / 250 XP
Početnik(1)
888
Postovi:
66
Teme:
Pridružio se:Okt. 2009
18. Sep. 2011.
Nik Delgad wrote on September 18, 2011, 4:25 pm:
Jako dobar update!!! Sviđa mi se!
Pretpostavljam da je ovo sarkazam 😄
Kingpin
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,362
Postovi:
35
Teme:
Pridružio se:Jun 2010
18. Sep. 2011.
Svi priÄate loÅ¡e stvari o samp-u a ti "svi" su ovisni o njemu :/
ako vam taj SAMP nevalja i zbugan je? zašto ne pređete na taj MTA ili na neku drugu igru npr. wow, black ops, c&c, simulatori........
ili NE
ON::
nije veliki update ali je korisno sve sto je dodano, najvise mi se svidja dialog za password 🙂
ako vam taj SAMP nevalja i zbugan je? zašto ne pređete na taj MTA ili na neku drugu igru npr. wow, black ops, c&c, simulatori........
BloodMaster wrote on September 18, 2011, 4:31 pm:
Pretpostavljam da je ovo sarkazam 😄
ili NE
ON::
nije veliki update ali je korisno sve sto je dodano, najvise mi se svidja dialog za password 🙂
Underboss
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
190 / 250 XP
Početnik(0)
737
Postovi:
6
Teme:
Pridružio se:Nov. 2009
18. Sep. 2011.
Dobro je da se jos neko trudi da izmisli nesto novo za SAMP 😉 Po meni veoma lep update ima tu par stvari koje su korisne ali ima i koje su ne potrebne. Sve u svemu moglo je i vise ali sledeca verzija ce valjda biti bolja 😁
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava