3dtextlabel help
#3

Quote:
Originally Posted by Rufio
Посмотреть сообщение
How can you even figure out the player's DM rank name without passing in the player ID to the function? GetPlayerDMRank simply won't work as you are not passing anything to the function.

That's unless GetPlayerDMRank is a local variable which you set to a string inside the function you're calling GetPlayerDMRank.
pawn Код:
GetPlayerDMRank(playerid)
{
    new rankname[36];
   
    if(PlayerInfo[playerid][pScore] >= 100 && PlayerInfo[playerid][pScore] < 249) { rankname = "Beginner"; }
    else if(PlayerInfo[playerid][pScore] >= 250 && PlayerInfo[playerid][pScore] < 499) { rankname = "Advanced Beginner"; }
.. etc
That's the function
Reply


Messages In This Thread
3dtextlabel help - by Jing_Chan - 29.07.2018, 15:54
Re: 3dtextlabel help - by Rufio - 29.07.2018, 15:56
Re: 3dtextlabel help - by Jing_Chan - 29.07.2018, 15:58
Re: 3dtextlabel help - by Rufio - 29.07.2018, 15:59
Re: 3dtextlabel help - by Jing_Chan - 29.07.2018, 16:00
Re: 3dtextlabel help - by d1git - 29.07.2018, 16:01
Re: 3dtextlabel help - by Rufio - 29.07.2018, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)