Dialogs / question improved
#10

Quote:
Originally Posted by Chyakka
Посмотреть сообщение
You'd have to fetch the Username and store it in a variable before you delete the row.

Код:
new tmpName[MAX_PLAYER_NAME];
cache_get_field_content(0, "Username", tmpName, handle, MAX_PLAYER_NAME);
To which you can then use tmpName when you format your string which should work just fine.

(parameters on the cache_get_field_content might be slightly incorrect as i'm not familiar with the version of mysql you're using)
Argument mitchmatch

PHP код:
SendClientMessage(tmpNameCOLOR_YELLOWstr2); 
Reply


Messages In This Thread
Dialogs / question improved - by Zeus666 - 21.10.2018, 16:48
Re: Dialogs - by ReD_HunTeR - 21.10.2018, 17:02
Re: Dialogs / question improved - by Zeus666 - 21.10.2018, 17:13
Re: Dialogs / question improved - by ReD_HunTeR - 21.10.2018, 17:42
Re: Dialogs / question improved - by Zeus666 - 21.10.2018, 17:49
Re: Dialogs / question improved - by ReD_HunTeR - 21.10.2018, 18:26
Re: Dialogs / question improved - by Chyakka - 21.10.2018, 18:34
Re: Dialogs / question improved - by Zeus666 - 21.10.2018, 19:03
Re: Dialogs / question improved - by Chyakka - 21.10.2018, 20:53
Re: Dialogs / question improved - by Zeus666 - 21.10.2018, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)