Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Lukynek

Uživatel
  • Příspěvků

    4
  • Registrován

  • Aktivní

  • Bodů

    5 [ Donate ]

Reputace

0 Na nule

About Lukynek

  • Moto
    Jonny Sindacco
  • Narozeniny 26.11.2000

Portfolio

  • Pastebin
    https://pastebin.com/user/profile

Návštěvníci

The recent visitors block is disabled and is not being shown to other users.

  1. Ahoj potřebuju pomoci mam paradiseworld a když, si chci exportnout auto do sf export na te tabulce je nazev auta ale když, ho odvezu nic se nestane tady je kod z pwn public OnPlayerEnterCheckpoint(playerid) { print("OnPlayerEnterCheckpoint"); //--- PlayerInCP[playerid] = 1; //--- if(PosledniCP[playerid] != -1) { switch(PosledniCP[playerid]) { case CP_EXPORT: { if(PlayerExported[playerid] == 1 && IsPlayerInAnyVehicle(playerid)) { if(GetPlayerVehicleID(playerid) < PosledniAuto) { new Float: vehiclehp; new Cena_E = 5000, Stav_E; GetVehicleHealth(GetPlayerVehicleID(playerid), vehiclehp); if(vehiclehp > 750 && vehiclehp <= 1000) { Stav_E = (floatround(vehiclehp) / 10) + 1; Stav_E = 100 - Stav_E; Cena_E = 5000 - (Stav_E * 100); ODMENAF(100,playerid,5,"Odmena~n~~b~~h~%s$",Number(Cena_E)); Sav[Banka][playerid] += Cena_E; //GetPlayerMoney(playerid, Cena_E); Log_Write(100,playerid,"(MONEY) Doky - %s(%dHP) - %s$", VehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400], floatround(vehiclehp)/10, Number(Cena_E)); PlayerExported[playerid] = 0; new engine,lights,alarm,doors,bonnet,boot,objective; GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid),0,lights,alarm,1,bonnet,boot,objective); StopVehicle(GetPlayerVehicleID(playerid)); RemovePlayerFromVehicle(playerid); DisablePlayerCheckpointEx(playerid); Tabule(); PlayerPlaySound(playerid,1058,0.0,0.0,0.0); Sav[ExportAut][playerid] ++; //Log_Write(100,playerid,"Hráč %s prodal %s "); }else SPIB(playerid, "~b~Vozidlo je prilis poskozene, nelze jej prodat!", 5); }else{ if(IsVehicleInAnyHouse(GetPlayerVehicleID(playerid)) != 0 && VehicleCanPark[GetPlayerVehicleID(playerid)] == 1) { for(new x; x < sizeof(SalonCars); x ++) { if(SalonCars[x][Veh_IDs] == GetVehicleModel(GetPlayerVehicleID(playerid))) { //Number(SalonCars[S_Count][Veh_Cost]) PlayerExported[playerid] = 0; StopVehicle(GetPlayerVehicleID(playerid)); DisablePlayerCheckpointEx(playerid); SetPVarInt(playerid, "ExportVehicle", x); new STR[100]; if(HaveVIP(playerid) == 1) format(STR, sizeof(STR), "Opravdu chcete prodat Vaše vozidlo za %s$ ?", Number(SalonCars[x][Veh_Cost] / 2)); else format(STR, sizeof(STR), "Opravdu chcete prodat Vaše vozidlo za %s$ ?", Number(SalonCars[x][Veh_Cost] / 2)); ShowPlayerDialogEx(playerid, DIALOG_EXPORT_HOUSE_CAR, DIALOG_STYLE_MSGBOX, "Export vozidel", STR, "Prodat", "Zavřít"); return 1; }
  2. co se k tomu ma dal přidat? #include <a_samp> #include <streamer> new sabre; public OnFilterScriptInit() { new tmpobjid; sabre = CreateVehicle(475,1332.343,1573.536,10.671,225.182,0,0,-1,0); tmpobjid = CreateDynamicObject(19917,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0); AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.090, 1.921, -0.160, 0.000, 0.000, 0.000); tmpobjid = CreateDynamicObject(1046,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0); AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.040, -0.860, -0.109, 0.000, 0.000, 0.000); tmpobjid = CreateDynamicObject(18694,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0); AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.377, -3.319, -2.273, 8.399, -2.999, 177.200); tmpobjid = CreateDynamicObject(18694,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0); AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.508, -2.748, -2.085, -0.199, 3.899, -179.500); } public OnFilterScriptExit() { DestroyVehicle(carvid); } public OnVehicleSpawn(vehicleid) { if(vehicleid == carvid) { } }
  3. Čauko potřebuju pomoci attach object nebo nějaky tutorial hlavně i v pawnu nebo kdyby byl nějaky pomocny pawner naučil by mě to ja rad za to něco dam potřeboval bych napawnit auto s radlici + nějaky ty objekty ja mam urobeny auta s radlici ale dam je do hry a nespawne se to tak potřeboval bych pomoci Muj Discord: Lukynek#3457 předem diky
  4. Dobré ráno chci se zeptat všude hledám i na YouTube link na Attach Object kde bych přímo ve hře umístil object nebo radlici na vozidlo a pak hodil na server, ale marně nemůžu nic najít. Chci se zeptat lze nějak upevnit object v map editorů?. Díky Můj Discord: Lukynek#3457
×
×
  • Create New...