CrashDetect Error
#2

1 - Change loginname[256] to loginname[32]
2 - Have this little stock around :
Код:
stock GetName(playerid)
{
	new name[32];
	GetPlayerName(playerid,name,sizeof(name));
	return name;
}
//Exemple code :
//format(str, sizeof(str),"Welcome sir : %s",GetName(playerid));
// No need to have the new name, Getplayername ..
if it doesn't work, tell me the error and I can help more I guess
Reply


Messages In This Thread
CrashDetect Error - by RuCyzZ0r - 02.03.2015, 18:31
Re : CrashDetect Error - by Golimad - 02.03.2015, 22:11

Forum Jump:


Users browsing this thread: 3 Guest(s)