14.12.2011, 14:34
(
Последний раз редактировалось daniboi229; 14.12.2011 в 15:06.
Причина: putting the command in pawn code tags
)
this is the command it returns no errors but when i try it in-game nothing happens, it should put the player in seat id 2 of any vehicle (specificly the ones that have no passenger seat)
i just cant figure it out any help is most welcome
pawn Код:
if(strcmp( cmd, "/getin", true ) == 0 )
{
new Float:X, Float:Y, Float:Z;
new pasv;
pasv = GetVehiclePos(pasv, X, Y, Z );
IsPlayerInRangeOfPoint(playerid, 5, X, Y, Z);
PutPlayerInVehicle(playerid, pasv, 1);
return 1;
}