Hi i was wondering how can i save a string for a specific player, i want to save the string when spawn and later load it in a condition ex:
Code:
////////////////////
new __int_String[32];
public fw_spawn( Client )
{
get_user_name( Client, __int_String, charsmax(__int_String));
set_task( 5.0, "LoadString", Client, _, _, "a", 1 );
}
public LoadString( Client )
{
if(equal(__int_String, "XSlayer" ))
{
client_print( Client, print_chat, "XSlayer entered the game" );
}
}
////////////////////
for a simple view the code is ok, but if other player enter the game after the 5 seconds, the string change, how can i save the string for personal client and then load it in a condition?