17.12.2011, 17:52
Hello guys,i've created 4 variables to show server stats.
Kills/Deaths/Joins and Spawns.
I maked a cmd: /server - to show this stats,and i make in this way:
But i get this error:
warning 202: number of arguments does not match definition.
What's wrong?The TotalDeaths/Kills/Spawns/Joins are exactly setted and added.
Thanks.
Kills/Deaths/Joins and Spawns.
I maked a cmd: /server - to show this stats,and i make in this way:
pawn Код:
dcmd_server(playerid, params[])
{
SendClientMessage(playerid, COLOR_RED, "Server Stats.");
SendClientMessage(playerid, COLOR_RED, "Note: The stats are GLOBALLY saved since the FIRST run of the server.");
SendClientMessage(playerid, COLOR_GREEN, "Total Joins On Server: %s", TotalJoins);
SendClientMessage(playerid, COLOR_GREEN, "Total Kills: %s", TotalKills);
SendClientMessage(playerid, COLOR_GREEN, "Total Deaths: %s", TotalDeaths);
SendClientMessage(playerid, COLOR_GREEN, "Total Spawns: %s", TotalSpawns);
return 1;
#pragma unused params
}
warning 202: number of arguments does not match definition.
What's wrong?The TotalDeaths/Kills/Spawns/Joins are exactly setted and added.
Thanks.