PlayerInfo[playerid][Nick] = dini_Get(file, "Nick");
|
C:\Users\James\Desktop\SAMP\gamemodes\dm.pwn(243) : error 006: must be assigned to an array |
|
C:\Users\James\Desktop\SAMP\gamemodes\dm.pwn(243) : error 017: undefined symbol "dini_Str" |
|
C:\Users\James\Desktop\SAMP\gamemodes\dm.pwn(243) : error 047: array sizes do not match, or destination array is too small |
strmid(PlayerInfo[playerid][Nick], dini_Get(file, "Nick"), 0, MAX_PLAYER_NAME);
if(strcmp(cmd, "/stats", true) == 0)
{
new string[128];
format(string, sizeof(string), "Stats of %s (%s)", GetPlayerName(playerid), PlayerInfo[playerid][Nick]);
SendClientMessage(playerid, COLOR_WHITE, string);
}
|
C:\Users\James\Desktop\SAMP\gamemodes\dm.pwn(259) : warning 202: number of arguments does not match definition C:\Users\James\Desktop\SAMP\gamemodes\dm.pwn(259) : warning 202: number of arguments does not match definition |
if(strcmp(cmd, "/stats", true) == 0)
{
new string[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(string, sizeof(string), "Stats of %s (%s)", name, PlayerInfo[playerid][Nick]);
SendClientMessage(playerid, COLOR_WHITE, string);
}