Pawno Kód: #include <a_samp>
#include <zcmd>
new obj,Wheelchaircar;
public OnFilterScriptInit()
{
obj = CreateObject(1369, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);//Wheelchair
Wheelchaircar = 594;
return 1;
}
CMD:wheelchair(playerid,params[])
{
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
Wheelchaircar = CreateVehicle(594, x +2, y, z+2, a, -1, -1, 60);
AttachObjectToVehicle(obj, Wheelchaircar, 0.0, 0.0, 0.4, 0.0, 0.0, -180.0);
LinkVehicleToInterior(Wheelchaircar, 6);
PutPlayerInVehicle(playerid, Wheelchaircar, 0);
return 1;
}
Köszönöm a figyelmet mindenkitõl további jó fórumozást kívánok továbbra is.
Üdvözlettel: ~GameR~