Need Help Plz =( [Portugal]
#1

Hi

Hi have a RPG GM in my samp server.
In the middle of the map i have one object [id 4874] and i go to pawno search the id, i erase the line CreateDynamicObject(4874,1484.414,-1665.912,17.092,0.0,0.0,-90.000); and when i start the server it doenst desapire

HELP...!!!

I SEARCH THE ID AND I JUST FIND THAT LINE...
Reply
#2

You might of deleted another object instead of that, maybe you had many objects of that object id. Try fetch the actual coordinates and compare them with the cords for the object id. If you get a match or close to it, it must be the one you have to delete.
Reply
#3

but my object is bbig...how i know the coordenates
Reply
#4

If you were mapping by MTA, you could perhaps click on the object and press delete. Theres another way, you might need like a cheat script or something and go to a point on that object then do /save. To find the cords go to ur san andreas direc and search your savedpositions.txt. Now grab those cords and try compare them with the object you want to delete.
Reply
#5

But the object was there in GM when i download it
Reply
#6

Cheat script? LOOOOOOOOOOOOOL just add this

In OnPlayerCommandText

Код:
    if(strcmp(cmd, "/pos", true) == 0)
    {
        new Float:X, Float:Y, Float:Z, str[50];
        GetPlayerPos(playerid,X,Y,Z);
        format(str,sizeof(str),"Your Position : %f,%f,%f",X,Y,Z);
        SendClientMessage(playerid,0xAA000AA,str);
        return 1;
    }
After that go ingame and go in The CENTER of your object, type /pos . Remember or Copy the numbers You will get, go in the FS and search for the numbers, IF it finds it remove the line, if not try searching for CreateObject with the similar numbers you got from /pos
Reply
#7

Did you make sure to save and compile the file?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)