Error only 1
#3

if(!strlen(PlayerData[playerid][Haircut])) return format(PlayerData[playerid][Haircut], 20, text1);
else return format(text1, 20, "None");

if theirs more in the command or whatever it is, Don't use returns and use { } to close statements but continue.
Reply


Messages In This Thread
Error only 1 - by Erkan - 11.07.2010, 20:05
Re: Error only 1 - by Erkan - 11.07.2010, 20:13
Re: Error only 1 - by MisterTickle - 11.07.2010, 20:30
Re: Error only 1 - by [LSB]TheGame - 13.07.2010, 19:31
Re: Error only 1 - by Erkan - 14.07.2010, 00:26

Forum Jump:


Users browsing this thread: 3 Guest(s)