-
Posts
754 -
Joined
-
Last visited
-
Days Won
43
Content Type
Profiles
Forums
News
Documentation
Everything posted by InceMan
-
http://pastebin.com/GkXxzuJb
-
salut, am incercat sa adaug la dealership masini de cont premium si masinile de cont premium imi aparea dar restul masinilor nu imi mai apar acum am scos aia cu cont premium si nu imi mai apar masinile personale chear daca am scos selectia de cont premium
-
da dar de-ce nu se vad pe server?
-
pai tot asa imi merge nu am mai facut nimic cand le copi din fisier si le adaug pe server nu se pun
-
incearca asa CMD:exam(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "You can't use this command when you are in a car."); if(PlayerToPoint(5.0,playerid, 1219.0502,-1812.7823,16.5938)) { new string[256]; if(PlayerInfo[playerid][pCarLic] == 0) { if(PlayerInfo[playerid][pCarLicSuspend] > 0) { format(string,sizeof(string),"Permisul tau de conducere a fost suspendat recent. Poti da examenul peste %d ore.",PlayerInfo[playerid][pCarLicSuspend]); SendClientMessage(playerid, COLOR_GREY, string); return 1; } if(GetPlayerWeapon(playerid) == 46)return SCM(playerid, -1, "{ccff99}Nu poti da examenul daca deti o parasuta !"); if(GetPlayerAnimationIndex(playerid) != 0)return SCM(playerid, -1, "{ccff99}Foloseste mai intai /stopanim !"); if(TakingLesson[playerid] == 0) { TakingLesson[playerid] = 1; examcar[playerid] = AddStaticVehicle(410, 1214.6104,-1827.9747,13.1357,180.1865,-1,-1); Gas[examcar[playerid]] = 100; PutPlayerInVehicleEx(playerid, examcar[playerid], 0); DisableRemoteVehicleCollisions(playerid, 1); SendClientMessage(playerid, COLOR_WHITE, "Examenul a inceput. Mergi la checkpoint."); SendClientMessage(playerid, COLOR_WHITE, "Scrie /engine sau apasa tasta 2 pentru a porni motorul masinii."); CP[playerid] = 100; PlayerTextDrawShow(playerid, DMVexam[playerid]); format(string, sizeof(string), "~w~CHECKPOINTS: ~r~0~w~/~r~24"); PlayerTextDrawSetString(playerid, DMVcheck[playerid], string); PlayerTextDrawShow(playerid, DMVcheck[playerid]); SetPlayerRaceCheckpoint(playerid,0, 1135.3868,-1850.5981,13.0366,1045.2626,-1809.4169,13.2637,4.0); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}You already have test."); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}You already have a drivers license."); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}You are not at the DMV."); return 1; }
-
acum imi salveaza toate cele 3 poziti dar nu imi arata objectul creat dupa restart CreateDynamicObject(13749, -243.924240, 2580.670410, 63.570312, 0.000000, 0.000000, 309.251892); CreateDynamicObject(19608, -242.535751, 2557.325195, 77.544624, 0.000000, 0.000000, 265.635528);
-
ok am sa tin cont multumesc !
-
uite am facut un edit la saveobject e bine cum am facut? stock SaveObjects() { new idx = 1, File:file2; new string[256]; while (idx < sizeof(ObjectInfo)) { format(string, sizeof(string), " CreateDynamicObject(%d,%f,%f,%f,%f,%f,%f);\r\n", ObjectInfo[idx][oModel], ObjectInfo[idx][oX], ObjectInfo[idx][oY], ObjectInfo[idx][oZ], ObjectInfo[idx][oRX], ObjectInfo[idx][oRY], ObjectInfo[idx][oRZ]); if(idx == 1) { file2 = fopen("objects.txt", io_write); } else { file2 = fopen("objects.txt", io_append); } fwrite(file2, string); fclose(file2); idx++; } print("Objects saved successfully."); return 1; }
-
Salut omule, daca cer ajutorul cui-va asta nu inseamna ca nu am abar sunt inca sa zicem asa zis incepator si vreau sa aflu cate mai multe nautati daca se poate
-
CMD:createobject(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pMapper] >= 1) { new id = GetAvailableID(TYPE_OBJECT), Float:x, Float:y, Float:z, Float:a; if (id == -1) return SendClientMessage(playerid, GREY, " Objects are at their maximum. Cannot continue."); GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, a); if(ObjectIDTaken[id]) return SendClientMessage(playerid, GREY, "ID is taken, choose another."); new tmp[420]; new idx, string[256]; tmp = strtok(params, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "{33ccff}Utilizeaza:{FFFFFF} /createobject [objectid] "); return 1; } new modelid = strval(tmp); if(!IsValidModel(modelid)) return SendClientMessage(playerid, GREY, "Invalid object ID."); ObjectIDTaken[id] = 1; ObjectInfo[id][objModel] = modelid; ObjectInfo[id][objX] = x; ObjectInfo[id][objY] = y; ObjectInfo[id][objZ] = z; ObjectInfo[id][objRX] = 0; ObjectInfo[id][objRY] = 0; ObjectInfo[id][objRZ] = a; ObjectInfo[id][objID] = CreateDynamicObject(modelid, x, y, z, 0, 0, a, GetPlayerVirtualWorld(playerid)); ObjectInfo[id][objSaved] = 1; ObjectInfo[id][objVW] = GetPlayerVirtualWorld(playerid); objects++; SendClientMessage(playerid, LIGHTBLUE, "Object created, now use /editobject [id] to edit it."); format(string, sizeof(string), "The object ID is: %d (you can use this id to /editobject with it).", id); SendClientMessage(playerid, LIGHTBLUE, string); return 1; } else { SendClientMessage(playerid, GREY, " You are not authorized to use that command."); } return 1; } CMD:saveobjects(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 3 || IsAMapper(playerid)) { SendClientMessage(playerid, LIGHTBLUE, "* All objects saved."); SendClientMessage(playerid, COLOR_YELLOW,"All Objects have been saved to objects.txt"); SaveObjects(); return 1; } else { SendClientMessage(playerid, GREY, " You are not authorized to use that command."); } return 1; } daca este nevoie dau si stock LoadObjects()
-
Salut, am o problema de scurt timp am facut un system de mapper direct din samp el ruleaza ok doar ce nu imi merge mie bine este atunci cand salvez objectele stock SaveObjects() { new idx; new File: file2; while (idx < sizeof(ObjectInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "CreateDynamicObject(%d, %f, %f, %f, %f, %f, %f, %d)\n", ObjectIDTaken[idx], ObjectInfo[idx][objModel], ObjectInfo[idx][objY], ObjectInfo[idx][objZ], ObjectInfo[idx][objRX], ObjectInfo[idx][objRY], ObjectInfo[idx][objRZ], ObjectInfo[idx][objSaved], ObjectInfo[idx][objVW]); if(idx == 0) { file2 = fopen("objects.txt", io_write); } else { file2 = fopen("objects.txt", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); } return 1; } asa imi arata in objects.txt CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(1, 0.000000, 2579.666015, 63.570312, 0.000000, 0.000000, 247.253494, 1) CreateDynamicObject(1, 0.000000, 2557.383544, 77.644691, 0.000000, 0.000000, 265.301696, 1) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) CreateDynamicObject(0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0) deci nu imi arata cordonatele corecte
-
nu merge sau nu am facut eu bine, atata-mi tu te rog frumos!
-
te referi la [playerid] STUNTV[playerid] = 1;
-
am incercat si asa cum ai spus tu tot nu merge doar un singur player poate sa eie acel premiu chear daca incepe alt stunt alti playeri inafara de mine nu mai poata sa eie acel checkpoint
-
acum nu imi ma-i arata mesajul ala SendClientMessageToAll(-1, "A new stunting event has just started. It has been marked on your Map with a Black&White Race Flag Get there first and you'II win."); cand sunt Ma-i multi playeri conectati dar acuma nu mai pot lua checkpoint-ul cu nrg-500 + ca la fiecare players ii da checkoint diferit ar trebui sa fie un checkpoin la toti playeri imi da si warning-ul asta (2321) : warning 209: function "IsANRG" should return a value
-
pai mai mult de atata nu am doar atata am putut sa fac de unul singur si vad ca nu merge cum ar trebui
-
deci daca sunt 10 playeri conectati pe server apare de 10 ori mesajul asta SendClientMessageToAll(-1, "A new stunting event has just started. It has been marked on your Map with a Black&White Race Flag Get there first and you'II win."); si daca un player ajunge la stunt si il castiga restul playeri-lor nu mai poate sa eie stunt-ul, daca intra in checkpoint ii apare hack teleport http://imgur.com/a/eL7GBhttp://imgur.com/a/uvyyy
-
am aici tot ce este facut de mine si nu stiu ce ar ma-i trebui sai fac acum, acum ii da bani doar la un singur jucator daca intra 10 playeri le da la fiecare ca incepe acel stunt http://pastebin.com/UY5788M3
-
pune if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1)
-
da-ti topic clossed daca nu doreste nimeni sa ma ajute, sau sunteti fuduli !
-
ma ajuta si pe mine cineva?
-
te rog nu mai pune un subiect in toate topicurile cu acelasi subiect, duce la warns sau chear si ban
-
finca nu ai libraria buna ori nu ai versiunile necesare la plugins ori nu-ti ruleaza baza de date bine, sau ar ma-i putea fii o eroare a gamemodului
-
Discord pentru San Andreas Multiplayer România
InceMan replied to WopsS's topic in Comunitatea SA:MP România
buna ideie cu serverul de Discord, sper sa fie adaugat
