Help. Give killer $1000
#8

Код:
if(killerid != INVALID_PLAYER_ID)
Means if killerid is not invalid player id (so if killerid is actually valid player)

Код:
if(IsPlayerConnected(killerid))
Checks if killerid is connected (valid player).

Two checks which do the same + GivePlayerMoney also incldues IsPlayerConnected check, so basically you check three times in a row if killerid is connected? Is it more important than Obama or what?
Reply


Messages In This Thread
Help. Give killer $1000 - by Hash [NL-RP] - 29.05.2010, 21:03
Re: Help. Give killer $1000 - by (SF)Noobanatior - 29.05.2010, 21:08
Re: Help. Give killer $1000 - by Retardedwolf - 29.05.2010, 21:08
Re: Help. Give killer $1000 - by (SF)Noobanatior - 29.05.2010, 21:13
Re: Help. Give killer $1000 - by Hash [NL-RP] - 29.05.2010, 21:27
Re: Help. Give killer $1000 - by Sergei - 29.05.2010, 21:43
Re: Help. Give killer $1000 - by (SF)Noobanatior - 29.05.2010, 21:50
Re: Help. Give killer $1000 - by Sergei - 29.05.2010, 21:56
Re: Help. Give killer $1000 - by RyDeR` - 29.05.2010, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)