Help me !!
#3

pawn Код:
forward SetPlayerClass(playerid, class[]);
public SetPlayerClass(playerid, class[])
{
     new skin[32], asdf;
     SetPVarString(playerid, "Class", class);
     format(skin, 32, "TEAM_%s", class);
     asdf = "#skin";
}
Your problem (from what i can see) is that you are trying to assign "#skin" into a variable that is not compatible with strings. Try defining asdf as asdf[5].

Without more information thats all i can suggest.
Reply


Messages In This Thread
Help me !! - by Xaviour212 - 12.03.2012, 08:52
Re: Help me !! - by nmader - 12.03.2012, 08:53
Re: Help me !! - by Pghpunkid - 12.03.2012, 09:01
Re: Help me !! - by Xaviour212 - 12.03.2012, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)