number of arguments..
#1

Код:
	new StoreName = cache_get_field_content(0, "storename");
	format(rquery, sizeof(rquery), "[ROBBERY] %s(%d) has robbed %d from %s", pName, playerid, 
        GetPVarInt(playerid, "robbedMoney"), StoreName);
	SendClientMessageToAll(-1, rquery);

Код:
(LINE: 332): warning 202: number of arguments does not match definition
Reply
#2

This is the correct way of retrieving string
PHP код:
    new StoreName[28];
    
cache_get_field_content(0"storename"StoreName);
    
format(rquerysizeof(rquery), "[ROBBERY] %s(%d) has robbed %d from %s"pNameplayerid
    
GetPVarInt(playerid"robbedMoney"), StoreName);
    
SendClientMessageToAll(-1rquery); 
Reply
#3

thanks bruh.. +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)