String help :p
#9

Try this
pawn Код:
stock playaname(playerid)
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pname,sizeof(pname));
    return pname;
}
It seems you already have a variable called playername in ur script. Also you might be getting the "Undefined symbol playerid" error because you have put your code in the wrong callback, what callback is your code in?
Reply


Messages In This Thread
String help :p - by [NTX]MikeQ - 18.07.2010, 07:19
Re: String help :p - by iggy1 - 18.07.2010, 07:25
Re: String help :p - by [NTX]MikeQ - 18.07.2010, 07:26
Re: String help :p - by [NTX]MikeQ - 18.07.2010, 07:27
Re: String help :p - by iggy1 - 18.07.2010, 07:30
Re: String help :p - by Hamza' - 18.07.2010, 07:30
Re: String help :p - by iggy1 - 18.07.2010, 07:33
Re: String help :p - by [NTX]MikeQ - 18.07.2010, 07:40
Re: String help :p - by iggy1 - 18.07.2010, 07:44
Re: String help :p - by [NTX]MikeQ - 18.07.2010, 07:58

Forum Jump:


Users browsing this thread: 1 Guest(s)