03.05.2009, 11:49
How can i do that if i will enter some car, i will get a message with the name of that car?
thx.
thx.
Originally Posted by borisblat
with which words I should search? XD
|
Originally Posted by borisblat
there is'nt anything good with these words xd
|
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 ); } ? |
Originally Posted by zxcvqw
Код:
if (newstate == 2) { display_vehicle_name(playerid); } |
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); }