SA-MP Forums Archive
PLese i need help - 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: PLese i need help (/showthread.php?tid=383112)



PLese i need help - Mustafa6155 - 06.10.2012

Can someone tell me becuse i have an COD5 server but i want if u kill somone comes and text
Good job u earned 2 score and $350 becuse, u killed someone.
Then he get's score for it


Re: PLese i need help - Red_Dragon. - 06.10.2012

Stop double posting!! BTW... check your inbox


Re: PLese i need help - Badr_Hari - 06.10.2012

Dobar si xD al' ne kontam to jesi gledao na netu?


Re: PLese i need help - Red_Dragon. - 06.10.2012

ste samo govori da se poveća svoje postove
and stop that please!


Re: PLese i need help - arakuta - 06.10.2012

https://sampwiki.blast.hk/wiki/OnPlayerDeath
Is called when a player gets dead.

https://sampwiki.blast.hk/wiki/SetPlayerScore
Use this to Set Score.

If you want to Give score instead instead of set, use this:

pawn Код:
SetPlayerScore(playerid,GetPlayerScore(playerid) + X); // X mens the amout of score to give.



Re: PLese i need help - Badr_Hari - 06.10.2012

Ne budi glup Red Dragon imam i ja COD5...Jbt post...Nego ima na netu tutova o tome a on pita na samp forumu... -.-


Re: PLese i need help - Mustafa6155 - 06.10.2012

arakuta but can u show it like what u say with code or pawno from died and score?


Re: PLese i need help - doreto - 06.10.2012

Quote:
Originally Posted by Badr_Hari
Посмотреть сообщение
Dobar si xD al' ne kontam to jesi gledao na netu?
Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
ste samo govori da se poveća svoje postove
and stop that please!
Quote:
Originally Posted by Badr_Hari
Посмотреть сообщение
Ne budi glup Red Dragon imam i ja COD5...Jbt post...Nego ima na netu tutova o tome a on pita na samp forumu... -.-
Quote:
Originally Posted by Mustafa6155
Посмотреть сообщение
arakuta but can u show it like what u say with code or pawno from died and score?
THIS IS ENGLISH SECTION



Re: PLese i need help - Mustafa6155 - 06.10.2012

I did


Re: PLese i need help - Glint - 06.10.2012

This is an English forum so speak English.

And OT use SetPlayerScore and SendClientMessageToAll under OnPlayerDeath look up the wiki if you don't know how to use them.