[Include] New functions [Simple and basic]
#9

Did you even test it because I'm fairly sure you aren't meant to upload untested code,
pawn Код:
if(GetPlayerInterior == 0 && GetPlayerVirtualWorld == 0) return SendClientMessage(playerid, -1, "{ff0000}You are not bugged.");
you need the (playerid) parameter at the end of the functions otherwise it won't work.. Also as ****** said actually document it because just randomly creating something that may or may not be useful just so the spammers can say "Great work +rep", I'm not necessarily saying that was your intention but it does seem to be happening a lot.

And is QuitPlayerArmour supposed to just lower the armour? Because just from the name of the function you can't really see that. The point of the name is to be easily understood, SendClientMessage (Oh we're sending the client a message, makes sense! Not we're qutting the players armour?).

Quote:
Originally Posted by ZKDarkOMG
Посмотреть сообщение
@iZN I did it for newbies, and another thing, you'll be useless.

@nilanjay Read first before commenting, rookie.
Those are some harsh words.
Reply


Messages In This Thread
New functions [Simple and basic] - by ZKDarkOMG - 13.06.2014, 12:57
Re: New functions [Simple and basic] - by RajatPawar - 13.06.2014, 13:03
Re: New functions [Simple and basic] - by iZN - 13.06.2014, 13:05
Re: New functions [Simple and basic] - by nilanjay - 13.06.2014, 13:06
Respuesta: New functions [Simple and basic] - by ZKDarkOMG - 13.06.2014, 13:09
Re: Respuesta: New functions [Simple and basic] - by iZN - 13.06.2014, 13:10
Respuesta: New functions [Simple and basic] - by ZKDarkOMG - 13.06.2014, 13:12
Re: Respuesta: New functions [Simple and basic] - by Vince - 13.06.2014, 13:19
Re: New functions [Simple and basic] - by NewerthRoleplay - 13.06.2014, 14:16
Re: Respuesta: New functions [Simple and basic] - by RajatPawar - 13.06.2014, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)