how can i do this?
#1

How can i make a thing when a player kills a player his exp will be +1 and when the player die his exp will -1
Reply
#2

exp do you mean score?

if you mean score its this


Код:
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
gives the killer +1 score

Код:
SetPlayerScore(killerid,GetPlayerScore(playerid)-1);
gives the person who died -1 score

overall

Код:
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
SetPlayerScore(killerid,GetPlayerScore(playerid)+1);
under onplayerdeath
Reply
#3

yup sort of something like that
Reply
#4

Quote:
Originally Posted by Medal Of Honor team
Посмотреть сообщение
yup sort of something like that
their you go edited my 1st post
Reply
#5

@hadzx Next time use [pawn] [ /pawn]
Reply
#6

not works. I want to do in textdraw

Textdraw2 = TextDrawCreate(562.000000, 313.000000, "%d");
Reply
#7

Quote:
Originally Posted by Medal Of Honor team
Посмотреть сообщение
not works. I want to do in textdraw

Textdraw2 = TextDrawCreate(562.000000, 313.000000, "%d");
look on wiki into textdrawupdate
Reply
#8

there is not TextDrawUpdate in sa-mp.wiki

EDIT: I have created but it just rises not lower's
Reply
#9

https://sampwiki.blast.hk/wiki/TextDrawSetString
Reply
#10

i have see it. But all it shows is %d
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)