function heading differs from prototype
#1

Error:
PHP код:
dwrp_mode.pwn(393) : error 025: function heading differs from prototype 
Callback:
PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassanger)// LINE 393
{
    if (
License_Car[vehicleid]) {
        
SetVehicleParamsForPlayer(vehicleidplayerid01);
    }
    return 
1;

Reply
#2

its

PHP код:
OnPlayerEnterVehicle(playeridvehicleidispassenger)

not ispassanger
Reply
#3

Quote:
Originally Posted by JeaSon
Посмотреть сообщение
its

PHP код:
OnPlayerEnterVehicle(playeridvehicleidispassenger)

not ispassanger
Oh, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)