[DUVIDA] Ao player morrer...
#1

Queria por uma coisa mais ou menos assim, ao player morrer, o player que matou ele, receber todo o score dele, mas nгo sei por onde comeзar
Reply
#2

pawn Code:
SetPlayerScore(killerid,GetPlayerScore(playerid));
This forum requires that you wait 120 seconds between posts. Please try again in 22 seconds.
Reply
#3

Quote:
Originally Posted by [Full]Garfield[XDB]
View Post
pawn Code:
SetPlayerScore(killerid,GetPlayerScore(playerid));
This forum requires that you wait 120 seconds between posts. Please try again in 22 seconds.
Nгo funcionou, quando um player mata o outro player, o player que matou, nгo ganha o score que o player que morreu tinha
Reply
#4

botasse aonde ?
Reply
#5

Quote:
Originally Posted by [Full]Garfield[XDB]
View Post
botasse aonde ?
OnPlayerDeath..
Reply
#6

nao й mais facil
bota pra quando mata 1 ganha 1 score?
Reply
#7

Quote:
Originally Posted by pedro xD~
View Post
nao й mais facil
bota pra quando mata 1 ganha 1 score?
Eu queria que quando matasse, o que matasse ganhasse o score do que morreu..
Reply
#8

Quote:
Originally Posted by PawninG
View Post
Eu queria que quando matasse, o que matasse ganhasse o score do que morreu..
pawn Code:
SetPlayerScore(killerid,GetPlayerScore(playerid)+GetPlayerScore(killerid));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)