Making String from specific client strings
Hello everybody,
In my code here everybody is making a String for a HUD Message. Code:
new pHUD[33][512]Code:
new gHUD[4096]Code:
//formatex(gHUD[0],4096,"%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n%s^n",pHUD[1],pHUD[2],pHUD[3],pHUD[4],pHUD[5],pHUD[6],pHUD[7],pHUD[8],pHUD[9],pHUD[10],pHUD[11],pHUD[12],pHUD[13],pHUD[14],pHUD[15],pHUD[16]) |
Re: Making String from specific client strings
Loop through all players and add() only the strings of the team you want to your big string.
|
Re: Making String from specific client strings
How do I do this?
This Code only shows one players String : Code:
public GameHUD_T() |
Re: Making String from specific client strings
Quote:
So, in the code of your first post, you just need to add: Code:
add(gHUD, charsmax(gHUD), pHUD[i]) |
| All times are GMT -4. The time now is 20:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.