[HELP]Need help!
#1

EDIT:Changed question

I wanted to ask how I can remove (or disable w/e) that yellow arrows next to enterable buildings... And make that players won't enter in that buildings when picked up that arrow...

Sorry for my english...
Please help

Thanks
Reply
#2

under onplayerdeath go

Код:
if(killerid != INVALID_PLAYER_ID)SetplayerScore(killerid,GetPlayerScore(killerid)+1);
Reply
#3

Код:
if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
No typos allowed in coding.
Reply
#4

Sorryy... Can you explain what this part does?
Код:
if(killerid != INVALID_PLAYER_ID)
Reply
#5

It checks if the player who died was actually killed by some other player and did not die of falling, suiciding etc.

Simply, the killerid is a INVALID_PLAYER_ID if that player and his ID does not exist.
Reply
#6

Thank you very much
Reply
#7

*BUMP* Changed question
Reply
#8

pawn Код:
DisableInteriorEnterExits();
in OnGammodeInit you should use search there are many topics on this subject
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)