Problem on Writing file line
Hey guys.
I developed a plugin with writes steamid, flags and immunity and the name of client as this way "my_steam_id" "immunity:flags" //player_name But the problem is that when I select the player name, it adds the flags, etc but does to other players with the steamid of the player i choosed. How can i solve this? PHP Code:
|
Re: Problem on Writing file line
Quote:
i'm pretty sure there will be errors since you didn't check if client is in game like in your other for loop |
Re: Problem on Writing file line
Quote:
Example: my steam id is "123", immunity 99 and flags "z" and name //name of the player. It spams like this: Code:
"123" "99:z" //name of player1 |
Re: Problem on Writing file line
Quote:
|
Re: Problem on Writing file line
plz show the full code cuz your snippet just looks wrong
|
Re: Problem on Writing file line
remove int loop, replace "i" to "target" in GetClientAuthId
|
Re: Problem on Writing file line
Quote:
int target = <code here>?? |
Re: Problem on Writing file line
Spamming lines because function are inside of a player loop, which means functions will be performed for the number of players.
the code is not full. i do not know the first function is client action or.. if client action PHP Code:
|
All times are GMT -4. The time now is 05:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.