27.06.2009, 18:05
Eey,
Iam looking for a /hyd command.
Help me please =)
Iam looking for a /hyd command.
Help me please =)
if(strcmp(cmd, "/hydraulics", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid) == 0) //Checks if player is not in vehicle
{
SendClientMessage(playerid, 0xFF0000AA, "You should get a car first!");
}
else
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1087); //This line adds hydraulics to your car (component id - 1087)
}
return 1;
}
Originally Posted by ByFukara
AddVehicleComponent(GetPlayerVehicleID(playerid, 1070);
|
Originally Posted by ·٠•●°Alive°●•٠·
LOL its so simple... watch and learn
Add this under public OnPlayerCommandText pawn Code:
-Alive |