05.07.2016, 00:24
You really messed up dude.
Use player textdraws also your OnPlayerUpdate() is out to lunch.
You only need to update events as they occur there really is no need to even use OPU for this script.
You also have no regard for resolutions you need to make different textdraws for different resolutions or at least a few variations for people to try.
Код:
new Text:greyhealth[MAX_PLAYERS], Text:greyarmour[MAX_PLAYERS], Text:redhealth[MAX_PLAYERS], Text:tdarmour[MAX_PLAYERS], Text:tdmoney[MAX_PLAYERS], Text:box[MAX_PLAYERS], Text:cover[MAX_PLAYERS], Text:can1[MAX_PLAYERS], Text:can2[MAX_PLAYERS], Text:clown1[MAX_PLAYERS], Text:clown2[MAX_PLAYERS], Text:box2[MAX_PLAYERS], Text:tvcorn1[MAX_PLAYERS], Text:tvcorn2[MAX_PLAYERS], Text:tvcorn3[MAX_PLAYERS]
Код:
TextDrawShowForPlayer(playerid,redhealth[playerid]); TextDrawShowForPlayer(playerid,tdarmour[playerid]); TextDrawShowForPlayer(playerid,box[playerid]); TextDrawShowForPlayer(playerid,cover[playerid]); TextDrawShowForPlayer(playerid,can1[playerid]); TextDrawShowForPlayer(playerid,can2[playerid]); TextDrawShowForPlayer(playerid,clown1[playerid]); TextDrawShowForPlayer(playerid,clown2[playerid]); TextDrawShowForPlayer(playerid,box2[playerid]); TextDrawShowForPlayer(playerid,tvcorn1[playerid]); TextDrawShowForPlayer(playerid,tvcorn2[playerid]); TextDrawShowForPlayer(playerid,tvcorn3[playerid]); TextDrawShowForPlayer(playerid,tvcorn4[playerid]); TextDrawSetString(tdmoney[playerid],string);
You also have no regard for resolutions you need to make different textdraws for different resolutions or at least a few variations for people to try.