public OnPlayerConnect(playerid)
{
format(file, 128, "/users/%s.ini", GetName(playerid));
GetPlayerIp(playerid, playerIP, 16);
TogglePlayerSpectating(playerid, 1);
if(!dini_Exists(file))
{
format(str, 128, "{1900FF}Welcome %s \n\nPlease {B31515}register your {FFFFFF}account", GetName(playerid));
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Account Management", str, "Register", "Quit");
}
else
{
format(str, 128, "{1900FF}Welcome %s \n\nPlease {B31515}login to your {FFFFFF}account", GetName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Account Management", str, "Login", "Quit");
1.Right click on samp-server.exe 2.Click on Properties 3.Click on Compatibility 4.Select Windows XP Service Pack 2 and/or check the box that says Run as Administrator 5.Click Apply/Ok and test it
format(file, sizeof(string), "/users/%s.ini", GetName(playerid));
PHP код:
|
PHP код:
|
C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(117) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(117) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(117) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(158) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(158) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(158) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(176) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(176) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(176) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(212) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(212) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(212) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(441) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(441) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(441) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 10 Errors.
Your code make to me 10Errors:
Код:
C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(117) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(117) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(117) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(158) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(158) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(158) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(176) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(176) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(176) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(212) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(212) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(212) : warning 215: expression has no effect C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(441) : error 017: undefined symbol "string" C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(441) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(441) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 10 Errors. |
new string[128];
C:\Documents and Settings\PC\Bureau\Zombie Infection\pawno\include\dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(298) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(320) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(493) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(511) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(554) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\PC\Bureau\ZOMBIE~1\FILTER~1\Admin.pwn(830) : warning 203: symbol is never used: "string" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Warnings.