View Single Post
mrspeak
Junior Member
Join Date: Apr 2020
Old 11-06-2020 , 09:40   Re: index out of bounds
Reply With Quote #5

Quote:
Originally Posted by By.King View Post
You should test the incoming number first for error.

public arenaname( id )
{
client_print_color(id, id, "%d", am_get_player_arena(id));
}
Well you can't print am_get_player_arena with %d cuz it's a string.. it prints like "arena%s= arena1" for example..

That's also why i'm using it with g_szNumbers[ ].
I mean... if i print it w/ %s as a string it show the number of the arena.

The plugin it works without problems its just spamming that over and over.
Doesn't that work like that?
mrspeak is offline