06.07.2010, 11:27
how i can place a text and it says team and type of class on class selection
tnx
tnx
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
GameTextForPlayer(playerid, "Team 1", time, style) // or SendClientMessage(playerid, color, "text");
}
return 1;
}
public OnPlayerRequestClass(playerid, classid) { if(classid == 0) { SendClientMessage(playerid, color, "text"); } return 1; }
public OnPlayerRequestClass(playerid, classid) { if(classid == 0) { GameTextForPlayer(playerid, "Team 1", time, style) // or SendClientMessage(playerid, color, "text"); } return 1; }
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0: // Class 0
{
GameTextForPlayer(playerid,"~w~Class: ~r~0",5000, 5);
}
case 1: // Class 1
{
GameTextForPlayer(playerid,"~w~Class: ~r~1",5000, 5);
}
}
return 1;
}