SA-MP Forums Archive
[HELP]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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Need help! (/showthread.php?tid=156562)



[HELP]Need help! - dovys11 - 23.06.2010

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


Re: [HELP]How to make... - (SF)Noobanatior - 23.06.2010

under onplayerdeath go

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



Re: [HELP]How to make... - DJDhan - 23.06.2010

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


Re: [HELP]How to make... - dovys11 - 23.06.2010

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



Re: [HELP]How to make... - DJDhan - 23.06.2010

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.


Re: [HELP]How to make... - dovys11 - 23.06.2010

Thank you very much


Re: [HELP]Need help! - dovys11 - 23.06.2010

*BUMP* Changed question


Re: [HELP]Need help! - iggy1 - 23.06.2010

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