Help?
#5

but i have :
Код:
public ShowGameTextForPlayer(playerid) //optimised code here :D
{
	new string[32];
	switch(GAMETEXT_COLOR) //sets the text's color
    {
		case 0: format(string,sizeof(string),"%s",VehicleNames[VehicleModel[playerid]-400]); //yellow
	    case 1: format(string,sizeof(string),"~b~%s",VehicleNames[VehicleModel[playerid]-400]); //blue
	    case 2: format(string,sizeof(string),"~g~%s",VehicleNames[VehicleModel[playerid]-400]); //green
	    case 3: format(string,sizeof(string),"~r~%s",VehicleNames[VehicleModel[playerid]-400]); //red
	    case 4: format(string,sizeof(string),"~p~%s",VehicleNames[VehicleModel[playerid]-400]); //purple
	    case 5: format(string,sizeof(string),"~w~%s",VehicleNames[VehicleModel[playerid]-400]); //white
	    case 6: format(string,sizeof(string),"%~|~s",VehicleNames[VehicleModel[playerid]-400]); //black
	}
	GameTextForPlayer(playerid,string,2000,1); //shows the text
	CFCTimer = SetTimerEx("CheckForChange",1000,true,"i",playerid); //starts timer to check if player has changed vehicles
 	return 1;
}
How do you do that then? :/
Reply


Messages In This Thread
Help? - by XxerykxX - 07.07.2010, 23:20
Re: Help? - by CAR - 08.07.2010, 07:58
Re: Help? - by XxerykxX - 08.07.2010, 10:17
Re: Help? - by KuHS - 08.07.2010, 10:22
Re: Help? - by XxerykxX - 08.07.2010, 10:49

Forum Jump:


Users browsing this thread: 3 Guest(s)