Help D: ?
#6

The include OnPlayerShootPlayer has pretty much been deprecated and replaced by OnPlayerTakeDamage, look into switching them out.

The SendClientMessageToAll error is simply because COLOR_NEWBIE is never defined.

pawn Код:
#define COLOR_NEWBIE 0x7DAEFFFF
This is the Godfather RP color for /n(ewbie).

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
Change to this:
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
Add these to the top of your script, UNDER the includes.
pawn Код:
#pragma unused funcixd
#pragma unused strtok
#define COLOR_NEWBIE 0xFFFFFFFF
Once again, another post that's pretty much useless by you... #pragma unused is a very bad way to get rid of warnings like that, you either use the variable or you delete it, simple as that, then you tell him to define his newbie color as white, you could've done better with your response.
Reply


Messages In This Thread
Help D: ? - by Gortex - 16.01.2013, 13:30
Re: Help D: ? - by Gortex - 16.01.2013, 13:38
Re: Help D: ? - by CodyCummings - 16.01.2013, 14:27
Re: Help D: ? - by Gortex - 16.01.2013, 16:09
Re: Help D: ? - by Threshold - 16.01.2013, 16:13
Re: Help D: ? - by CodyCummings - 16.01.2013, 16:19
Re: Help D: ? - by Threshold - 16.01.2013, 16:25
Re: Help D: ? - by CodyCummings - 16.01.2013, 16:41
Re: Help D: ? - by Threshold - 16.01.2013, 16:43
Re: Help D: ? - by LarzI - 16.01.2013, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)