20.01.2010, 17:45
i am trying to make drag command but i just make test command if it will put myselft in vehicle , bu when i compile i get error
as allways
here is OnPlayerEnterVehicle
i try something like this :
and here is test command
and error
how i can make this /drag command ? Just the start of command

here is OnPlayerEnterVehicle
i try something like this :
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { Car[playerid] = GetPlayerVehicleID(playerid); // Car That was player lasted in return 1; }
Код:
COMMAND:drag(playerid,params[]) { PutPlayerInVehicle(playerid,Car,3); ------------------------> ERROR LINE return 1; }
Код:
C:\Documents and Settings\samp\Desktop\Server2\gamemodes\RP.pwn(597) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.