12.06.2013, 16:22
Hello gays, i have a problems when i compile
new string[2650];
format(string,sizeof(string),"%s ",PlayerName(playerid));
stock PlayerName(playerid)
{
new name[255];
GetPlayerName(playerid, name, 255);
return name;
}
help
: error 012: invalid function call, not a valid address
warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
new string[2650];
format(string,sizeof(string),"%s ",PlayerName(playerid));
stock PlayerName(playerid)
{
new name[255];
GetPlayerName(playerid, name, 255);
return name;
}
help
: error 012: invalid function call, not a valid address
warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero