Class
#1

Hello. I have this problem text GameTextForPlayer does not display at skin ID 1.

Код:
new Truckers[][1] = { {1}, {2}, {5} };

public OnGameModeInit()
{
    for(new i = 0; i <= sizeof(Truckers)-1; i++)
    {
	AddPlayerClass(Truckers[i][0], 0.0, 0.0, 0.0, 0.0, -1, -1, -1, -1, -1, -1);
    }
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case sizeof(Truckers)-1:
        {
            GameTextForPlayer(playerid, "Trucker", 3000, 4);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Class - by KamilPolska - 02.03.2019, 15:59
Re: Class - by PPC23 - 02.03.2019, 16:05
Re: Class - by KamilPolska - 02.03.2019, 17:14

Forum Jump:


Users browsing this thread: 2 Guest(s)