YCMD:stats(playerid, params[], help)
{
#pragma unused help
#pragma unused params
new largestring[400];
format(largestring, sizeof(largestring), "Money: %d\nScore: %d\nKills: %d\nDeaths: %d\nWarns: %d", GetPlayerMoney(playerid), GetPlayerScore(playerid), PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pWarns]);
ShowPlayerDialog(playerid, 8, DIALOG_STYLE_MSGBOX, " Your stats", largestring, "Ok", "");
return 1;
}
C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(310) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(342) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(360) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(545) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(556) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(566) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(588) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(651) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(671) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(694) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(715) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(736) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(757) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(778) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(796) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(819) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(842) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(860) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(889) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(949) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(986) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1061) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1077) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1093) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1135) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1148) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1167) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1184) : error 017: undefined symbol "sscanf" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\filterscripts\S32_Admin.pwn(1229) : error 017: undefined symbol "sscanf" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
native sscanf(const data[], const format[], {Float,_}:...); native unformat(const data[], const format[], {Float,_}:...) = sscanf;
add on top of my script:
Code:
native sscanf(const data[], const format[], {Float,_}:...); native unformat(const data[], const format[], {Float,_}:...) = sscanf; |
C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(310) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(342) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme Racing\pawno\include\YSI\y_utils.inc(360) : warning 219: local variable "string" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings.
press ctrl + h and in search for set string, replace with set s32_string
|
C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(232) : error 017: undefined symbol "mysql_real_escape_s32_string" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(243) : error 017: undefined symbol "mysql_real_escape_s32_string" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(900) : error 017: undefined symbol "TextDrawSets32_string" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(902) : error 017: undefined symbol "TextDrawSets32_string" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(904) : error 017: undefined symbol "TextDrawSets32_string" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(1448) : error 017: undefined symbol "mysql_real_escape_s32_string" C:\Documents and Settings\tyler12\Desktop\ET STUFF\Extreme racing\filterscripts\S32_Admin.pwn(1740) : error 017: undefined symbol "mysql_real_escape_s32_string" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
oh shit, press ctrl + z if you didn't closed the script, now press ctrl + h and set options like this
also next time try to solve that errors, not immediately post error in topic -.- |
[13:34:38] [13:34:38] Server Plugins [13:34:38] -------------- [13:34:38] Loading plugin: mysql [13:34:38] SA:MP MySQL Plugin v2.1.1 Loaded. [13:34:38] Loaded. [13:34:38] Loaded 1 plugins. [13:34:38] [MySQL] Thread running. Threadsafe: Yes. [13:34:38] [13:34:38] Filterscripts [13:34:38] --------------- [13:34:38] Loading filterscript 'S32_Admin.amx'... [13:34:38] Loaded 1 filterscripts.