#define and SendClientMessage
#1

Hello. There is one problem, such as a constant

#define ERROR_TEXT "You need to check your mail"

and if you use so it will not be replaced

PHP Code:
SendClientMessage(playerid,-1,"Problem:ERROR_TEXT"); 
result
Quote:

Problem: ERROR_TEXT

How to use a constant in order to function SendClientMessage correctly displays the value?
Reply


Messages In This Thread
#define and SendClientMessage - by 28days - 19.08.2016, 14:35
Re: #define and SendClientMessage - by SyS - 19.08.2016, 14:37
Re: #define and SendClientMessage - by AndySedeyn - 19.08.2016, 14:38
Re: #define and SendClientMessage - by 28days - 19.08.2016, 23:04

Forum Jump:


Users browsing this thread: 2 Guest(s)