Best approach to trigger callback between gamemode and filterscript
#6

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
PHP код:
Local_AdmWarn(message[], {Float,_}:...)
{
    new 
buffer[244];
    
format(buffersizeof(buffer), message___1); // using y_va
    
print(message);
    return 
CallRemoteFunction("SendInternalMessage""is"0buffer);

If you are using y_va, theres no need for {Float,_}:... .
You can use va_args<>.

PHP код:
Local_AdmWarn(message[], va_args<>)
{
    print(
message);
    return 
CallRemoteFunction("SendInternalMessage""is"0va_return(messageva_start<1>);

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)