game text in vehicle not working
#1

this is my code
PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    if(
vehicleid == 448)
    {
        
GameTextForPlayer(playerid,"text here",4000,4);
    }
    return 
1;

this code is not working please help.
Reply
#2

Are you using ModernlifeRP? :P
Code :
PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    new 
model GetVehicleModelvehicleid );
    if (
model == 400)
    {
        
GameTextForPlayer(playerid,"~g~Landstalker",2000,1);
    }
    return 
1;

Reply
#3

You must do this:

Код:
if(GetVehicleModel(vehicleid) == 448)
Greekz
Reply
#4

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
You must do this:

Код:
if(GetVehicleModel(vehicleid) == 448)
Greekz
thanks +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)