[Help] Vehicle Message
#1

How can i do that if i will enter some car, i will get a message with the name of that car?

thx.

Reply
#2

There are alot - around 2 xD - doing this, just search.
Reply
#3

with which words I should search? XD
Reply
#4

Quote:
Originally Posted by borisblat
with which words I should search? XD
Start simple. You want that the cars name get shown when you enter the car. Start with searching on "car name".
Reply
#5

there is'nt anything good with these words xd
anyway, can you make it here?

thanks,
Reply
#6

Quote:
Originally Posted by borisblat
there is'nt anything good with these words xd
Car names did the trick.
Result

Reply
#7

ok thx, i'll try it but
i want it will be appear as a SendClientMessage so i have to do like this?

if (newstate == 2)
{
SendClientMessage(playerid,color , "[ %s ]" , display_vehicle_name );
}

?

Reply
#8

Quote:
Originally Posted by borisblat
ok thx, i'll try it but
i want it will be appear as a SendClientMessage so i have to do like this?

if (newstate == 2)
{
SendClientMessage(playerid,color , "[ %s ]" , display_vehicle_name );
}

?

Quote:
Originally Posted by zxcvqw
Код:
if (newstate == 2)
{
	display_vehicle_name(playerid);
}
Reply
#9

Код:
display_vehicle_name(player_id)
{
	new vehicle_id = GetPlayerVehicleID(player_id);
	new vehicle_index = GetVehicleModel(vehicle_id) - 400;
	GameTextForPlayer(player_id, g_vehicle_names[vehicle_index], 6000, 1);
}
Look at this, and figure out what you have to change.
Reply
#10

k thx.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)