sscanf2 Error when compiling script
#5

Rename those declared variables (new) to some random like stringix instead of string and if you get any "ERROR UNDEFINED SYMBOL" go to that line and rename the used variable to the declared one you renamed. IE. Instead of:
PHP код:
new name[26];
public 
OnPlayerConnect(playerid)
{
    new 
name[26];
    
GetPlayerName(playerid,name,26);
    return 
1;

Do this
PHP код:
new name[26];
public 
OnPlayerConnect(playerid)
{
    new 
playername[26];//changed
    
GetPlayerName(playerid,playername,26);//changed
    
return 1;

Reply


Messages In This Thread
sscanf2 Error when compiling script - by JonnyDeath - 01.01.2018, 03:54
Re: sscanf2 Error when compiling script - by MEW273 - 01.01.2018, 04:29
Re: sscanf2 Error when compiling script - by JonnyDeath - 01.01.2018, 08:39
Re: sscanf2 Error when compiling script - by MEW273 - 01.01.2018, 08:55
Re: sscanf2 Error when compiling script - by RogueDrifter - 01.01.2018, 09:29
Re: sscanf2 Error when compiling script - by rfr - 01.01.2018, 10:00
Re: sscanf2 Error when compiling script - by Logic_ - 01.01.2018, 10:27
Re: sscanf2 Error when compiling script - by JonnyDeath - 01.01.2018, 20:54

Forum Jump:


Users browsing this thread: 2 Guest(s)