30.07.2011, 00:26
Quote:
You would need a health timer for the health but I'm sure you already have a timer that you can just add to. Here is how you would do kills and deaths.
pawn Код:
There is a few errors in your code there 1. GetPlayerHealth is a float %f not a integer. 2. GetPlayerHealth has mutliple params pawn Код:
|
pawn Код:
C:\Documents and Settings\Chris\Desktop\Desktop\SAMP Server\gamemodes\WorldWar.pwn(500) : error 028: invalid subscript (not an array or too many subscripts): "Textdraw5"
C:\Documents and Settings\Chris\Desktop\Desktop\SAMP Server\gamemodes\WorldWar.pwn(500) : warning 215: expression has no effect
C:\Documents and Settings\Chris\Desktop\Desktop\SAMP Server\gamemodes\WorldWar.pwn(500) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Chris\Desktop\Desktop\SAMP Server\gamemodes\WorldWar.pwn(500) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Chris\Desktop\Desktop\SAMP Server\gamemodes\WorldWar.pwn(500) : fatal error 107: too many error messages on one line
pawn Код:
Textdraw5[playerid] = TextDrawCreate(472.000000, 172.000000, "Kills:");//Line 500
TextDrawBackgroundColor(Textdraw5[playerid], 65535);
TextDrawFont(Textdraw5[playerid], 1);
TextDrawLetterSize(Textdraw5[playerid], 0.629998, 2.200000);
TextDrawColor(Textdraw5[playerid], 16777215);
TextDrawSetOutline(Textdraw5[playerid], 1);
TextDrawSetProportional(Textdraw5[playerid], 1);