Recent posts

#11
Servers / Re: [0.4]Top Down City Server
Last post by MEGAMIND - Nov 30, 2024, 01:36 PM
11/30/2024 05:00pm
[Addition]
  • NPC-AI now checks for is you are on a vpn connection (Helps in kicking / ban out hackers)
  • NPC-AI has now more commands:
  • npcai time
  • npcai weather in <city> or <country>
  • npcai date
  • npcai where are players
  • npcai where is car

#12
Script and Content Requests / Re: small help!!
Last post by Luis_Labarca - Nov 30, 2024, 08:39 AM
Quote from: Abbas_905 on Jul 14, 2024, 01:43 AMHello Everyone
I want your smalll help,
need adminmod,apark command for admins

Hello bro, I don't know if you are looking for a cmd to park vehicles.

I use this on my server, I adjust the vehicle to my liking, then I save, I hope it works for you, I tried it before passing it on and it works fine.


else if ( cmd == "apark"||  cmd == "setpark")
{
if ( !text ) MessagePlayer("Usage: /"+cmd+" [V/ID] ", player );
else {
local ve = GetVehicle( GetTok( text, " ", 1 ) );
if ( !ve ) MessagePlayer( "Vehicle id invalid.", player );
else {

local x = ve.Pos.x.tointeger(),y = ve.Pos.y.tointeger(),z = ve.Pos.z.tointeger();
ve.SpawnPos = Vector(x,y,z);
ve.EulerSpawnAngle = Vector(ve.EulerAngle.x,ve.EulerAngle.y,ve.EulerAngle.z)
MessagePlayer( "Vehicle Pos Saved : PosX "+ve.Pos.x+",PosY "+ve.Pos.y+",PosZ "+ve.Pos.z+", AngleX "+ve.EulerAngle.x+",AngleY "+ve.EulerAngle.y+",AngleZ "+ve.EulerAngle.z, player );

//These two lines are to save in the database but remember that you must modify it to your data for it to work
//QuerySQL( DatabaseVehicle, "UPDATE Vehicle SET PosX='"+x+"',PosY='"+y+"',PosZ='"+z+"' WHERE rowid LIKE '" + ve.ID + "'" );
///QuerySQL( DatabaseVehicle, "UPDATE Vehicle SET AngX='"+ve.EulerAngle.x+"',AngY='"+ve.EulerAngle.y+"',AngZ='"+ve.EulerAngle.z+"' WHERE rowid LIKE '" + ve.ID + "'" );
}
}
}




#13
Script and Content Requests / Re: small help!!
Last post by Phantom - Nov 29, 2024, 02:38 PM
Quote from: Abbas_905 on Jul 14, 2024, 01:43 AMHello Everyone
I want your smalll help,
need adminmod,apark command for admins
can you be a bit more specific about what you ACTUALLY need?
#14
Snippet Showroom / Car Lock and Unlock System By ...
Last post by zainraza1789 - Nov 29, 2024, 02:26 PM
Car Lock System By ZainGamingNinjaPro


Paste This Code in Onplayercommand


else if (cmd == "unlockcar") {
    if (!player.IsSpawned) {
        MessagePlayer("[#ff4500][WARNING][#ffffff] You must be spawned to use this command!", player);
    } else if (!text) {
        MessagePlayer("[#1e90ff][USAGE][#ffffff] /unlockcar <Vehicle ID>", player);
    } else if (!IsNum(text)) {
        MessagePlayer("[#ff4500][ERROR][#ffffff] Vehicle ID must be a numeric value.", player);
    } else {
        local veh = FindVehicle(text.tointeger());
        if (!veh) {
            MessagePlayer("[#ff0000][ERROR][#ffffff] No vehicle found with the given ID.", player);
        } else {
            MessagePlayer("[#32cd32][SUCCESS][#ffffff] Vehicle [#ffa500]" + GetVehicleNameFromModel(veh.Model) + " [#ffffff]has been unlocked.", player);
            veh.Locked = false;
        }
    }
    return 0;
}

else if (cmd == "lockcar") {
    if (!player.IsSpawned) {
        MessagePlayer("[#ff4500][WARNING][#ffffff] You must be spawned to use this command!", player);
    } else if (!text) {
        MessagePlayer("[#1e90ff][USAGE][#ffffff] /lockcar <Vehicle ID>", player);
    } else if (!IsNum(text)) {
        MessagePlayer("[#ff4500][ERROR][#ffffff] Vehicle ID must be a numeric value.", player);
    } else {
        local veh = FindVehicle(text.tointeger());
        if (!veh) {
            MessagePlayer("[#ff0000][ERROR][#ffffff] No vehicle found with the given ID.", player);
        } else {
            MessagePlayer("[#32cd32][SUCCESS][#ffffff] Vehicle [#ffa500]" + GetVehicleNameFromModel(veh.Model) + " [#ffffff]has been locked.", player);
            veh.Locked = true;
        }
    }
    return 0;
}




#15
Videos & Screenshots / Re: TDC screenshots/videos
Last post by MEGAMIND - Nov 29, 2024, 01:29 PM
He's Back..!

#16
Support / Re: It only appears to me on v...
Last post by YankeeSJ - Nov 28, 2024, 11:22 PM
Quote from: MEGAMIND on Nov 28, 2024, 10:09 PM
Quote from: YankeeSJ on Nov 28, 2024, 09:47 PM
Quote from: MEGAMIND on Nov 28, 2024, 07:07 PM
Quote from: YankeeSJ on Nov 28, 2024, 07:04 PMIt shouldn't be this hard to open a vcmp server, I give up :(
its the worlds ever easiest thing to do, if all else fails get host for free else the choice is urs

amigo, my modem brand is huawei. model EG8247W. I made the port settings. I just didn't set the dmz setting because it was unnecessary. can you help me? My dream is to open a server.  ;D
just share me your routers port forwading settings page.. if u cant share here share me at discord MEGAMIND#8033 or megamind8033

I made friendship my name is dexter morgan
#17
Support / Re: It only appears to me on v...
Last post by MEGAMIND - Nov 28, 2024, 10:09 PM
Quote from: YankeeSJ on Nov 28, 2024, 09:47 PM
Quote from: MEGAMIND on Nov 28, 2024, 07:07 PM
Quote from: YankeeSJ on Nov 28, 2024, 07:04 PMIt shouldn't be this hard to open a vcmp server, I give up :(
its the worlds ever easiest thing to do, if all else fails get host for free else the choice is urs

amigo, my modem brand is huawei. model EG8247W. I made the port settings. I just didn't set the dmz setting because it was unnecessary. can you help me? My dream is to open a server.  ;D
just share me your routers port forwading settings page.. if u cant share here share me at discord MEGAMIND#8033 or megamind8033
#18
Support / Re: It only appears to me on v...
Last post by YankeeSJ - Nov 28, 2024, 09:47 PM
Quote from: MEGAMIND on Nov 28, 2024, 07:07 PM
Quote from: YankeeSJ on Nov 28, 2024, 07:04 PMIt shouldn't be this hard to open a vcmp server, I give up :(
its the worlds ever easiest thing to do, if all else fails get host for free else the choice is urs

amigo, my modem brand is huawei. model EG8247W. I made the port settings. I just didn't set the dmz setting because it was unnecessary. can you help me? My dream is to open a server.  ;D
#19
Support / Re: It only appears to me on v...
Last post by MEGAMIND - Nov 28, 2024, 07:07 PM
Quote from: YankeeSJ on Nov 28, 2024, 07:04 PMIt shouldn't be this hard to open a vcmp server, I give up :(
its the worlds ever easiest thing to do, if all else fails get host for free else the choice is urs
#20
Support / Re: It only appears to me on v...
Last post by YankeeSJ - Nov 28, 2024, 07:04 PM
It shouldn't be this hard to open a vcmp server, I give up :(