02.06.2014, 14:35
any one can help me to make like this when i login in my srv
with satdm.
with satdm.
new gTotalRegisters, gTotalLogins;
// Under OnDialogResponse
// Your register dialog
if (dialogid == DIALOG_REGISTER)
{
gTotalRegisters++;
// Save gTotalRegisters according to your saving system
}
// Your login dialog
if (dialogid == DIALOG_LOGIN)
{
gTotalLogins++;
// Save gTotalLogins according to your saving system
}
public OnGameModeInit()
{
// Load the value of total logins into gTotalLogins variable and same for gTotalRegisters..
}
new str[128];
format(str, sizeof(str), "%d players are registered with %d total successfull logins", gTotalRegisters, gTotalLogins);
// Send this where you want to
F:\Program Files\RBCluBxB v6.5\Gamemodes\SATDM.pwn(25902) : error 017: undefined symbol "dialogid" F:\Program Files\RBCluBxB v6.5\Gamemodes\SATDM.pwn(2590 : error 017: undefined symbol "dialogid" F:\Program Files\RBCluBxB v6.5\Gamemodes\SATDM.pwn(29754) : warning 219: local variable "score" shadows a variable at a preceding level F:\Program Files\RBCluBxB v6.5\Gamemodes\SATDM.pwn(29754) : warning 204: symbol is assigned a value that is never used: "score" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |