SA-MP Forums Archive
SA-MP 0.3d RC client/server (now released) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SA-MP 0.3d RC client/server (now released) (/showthread.php?tid=282775)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


Re: SA-MP 0.3d RC5 client/server - WoodPecker - 11.10.2011

You should copy the pawn/includes into your pawn/includes and the samp-server.exe then it will work.


Re: SA-MP 0.3d RC5 client/server - Steamator - 11.10.2011

Код:
OnVehicleTakeDamage(vehicle, driver, Float:damage, issueelement, type)
isueelement: an id
type: 1: vehicle, 2: object (also world objects), 3: player, 4: ...

also the opposite:
Код:
OnVehicleGiveDamage(vehicle, driver, Float:damange, element, type)



Re: SA-MP 0.3d RC5 client/server - [SP]Badman - 11.10.2011

Great about all that stuff, specially the skins, and I agree that I think 500 slots are just enough..


Re: SA-MP 0.3d RC5 client/server - IstuntmanI - 11.10.2011

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
Client/Server update SA-MP 0.3d RC5

- Added OnPlayerGiveDamage callback. This is the opposite of OnPlayerTakeDamage. It is sent by a player who is damaging another player.
- More tweaks to the weapon strafing game speed.
- Fix for SetPlayerTeam() sometimes desyncing and allowing friendly fire.
- Players found a way to avoid colour codes being stripped from the chat text. This has been resolved in 0.3d.
- Added the missing player skins. Thanks to IllidanS4 for providing the IDs and the voice file names.
OnPlayerGiveDamage, "More tweaks to the weapon strafing game speed" and "Added the missing player skins" are awesome ! Many thanks !


Re: SA-MP 0.3d RC5 client/server - Dripac - 11.10.2011

Did anyone notice that this thread is not called "SA-MP 0.3d test version" anymore?


Re: SA-MP 0.3d RC5 client/server - Elorreli - 11.10.2011

Skin ID 74 is still empty, what about adding Salvatore?

Here's the ID taken from the same topic.

Quote:

74, c_salvatore, c_salvatore, CIVMALE, STAT_SENSIBLE_GUY, man, 0, 0, man, 1,4, PED_TYPE_GEN, VOICE_GEN_MALE01, VOICE_GEN_MALE01 #Salvatore Leone




Re: SA-MP 0.3d RC5 client/server - WoodPecker - 11.10.2011

Quote:
Originally Posted by Dripac
Посмотреть сообщение
Did anyone notice that this thread is not called "SA-MP 0.3d test version" anymore?
Ye its not anymore "test version" i think they are about to release the official 0.3d soon.


Re: SA-MP 0.3d RC5 client/server - CyNiC - 11.10.2011

Thank's for this excelent update(RC5).


AW: SA-MP 0.3d RC5 client/server - olaf137 - 11.10.2011

Awesome
I hope in the next update they will add KEY_CHAT(T) and Callbacks like OnPlayerOpenChat(playerid) and OnPlayerCloseChat(playerid)
So we can create a Label at a players position, that tells the others, that this player is currently writing.

http://forum.sa-mp.com/showthread.ph...74#post1450274


Re: SA-MP 0.3d RC5 client/server - OKStyle - 11.10.2011

Quote:
Originally Posted by Elorreli
Посмотреть сообщение
Skin ID 74 is still empty, what about adding Salvatore?
Here's the ID taken from the same topic.
For add Salvatore - u must add dff model to, but for add nurse - just one line in ide... I think nurse more important!


Re: SA-MP 0.3d RC5 client/server - TheArcher - 11.10.2011

Another amazing update


Re: SA-MP 0.3d RC5 client/server - Karlip - 11.10.2011

Heh, I was wrong.

Thanks Kalcor, yet again.


Re: SA-MP 0.3d RC5 client/server - [DOG]irinel1996 - 11.10.2011

And the RC5 is the finished version of 0.3d? No more RCs for 0.3d?


Re: SA-MP 0.3d RC5 client/server - Secret.ro - 11.10.2011

Amazing...
good job sa-mp.com


Re: SA-MP 0.3d RC5 client/server - MakuPL - 11.10.2011

OnPlayerGiveDamage in R5? Hahahhahaha


http://pastebin.com/9vdgeekH

Hahhah... Congratulations for SAMP Team!


Re: SA-MP 0.3d RC5 client/server - DiDok - 11.10.2011

Go troll somewhere else if you have no basic knowledge how these 2 callbacks work, it wasn't made by simple invertion


Re: SA-MP 0.3d RC5 client/server - MaTrIx4057 - 11.10.2011

Quote:
Originally Posted by MakuPL
Посмотреть сообщение
OnPlayerGiveDamage in R5? Hahahhahaha


http://pastebin.com/9vdgeekH

Hahhah... Congratulations for SAMP Team!
To make you a bit smarter, OnPlayerGiveDamage calls when player shoots other player, so you can detect health toggling. Onplayertakedamage detects only when you lose damage not when you get shot.


Re: SA-MP 0.3d RC5 client/server - d0 - 11.10.2011

Quote:
Originally Posted by MakuPL
Посмотреть сообщение
OnPlayerGiveDamage in R5? Hahahhahaha


http://pastebin.com/9vdgeekH

Hahhah... Congratulations for SAMP Team!
you don't understand when OnPlayerGiveDamage/OnPlayerTakeDamage is called.

Hahhah... you failed

Give Damage:
You hit someone on your screen but probably the player you hit wasn't hit on his screen.
-> Paused players can be killed ?

Take Damage:
You took damage by a weapon but the other player might not have hit you on his screen.

Lag!


Re: SA-MP 0.3d RC5 client/server - Slice - 11.10.2011

Quote:
Originally Posted by MaTrIx4057
Посмотреть сообщение
To make you a bit smarter, OnPlayerGiveDamage calls when player shoots other player, so you can detect health toggling. Onplayertakedamage detects only when you lose damage not when you get shot.
Do you seriously think you can use this to detect health toggling..?


Re: SA-MP 0.3d RC5 client/server - CyNiC - 11.10.2011

Quote:
Originally Posted by D0erfler
Посмотреть сообщение
Give Damage:
You hit someone on your screen but probably the player you hit wasn't hit on his screen.
-> Paused players can be killed ?
I think that the callback only is called when the other player loses health.