[GameMode] Base Script (Roleplay) [ZCMD|SQLite|streamer|sscanf2]
#21

Quote:
Originally Posted by kenzahem
View Post
awesome background music! what is the title of it?
Monsters - DotEXE.
Reply
#22

I found a bug, if a door's interior's interior is other than 0, /exit will get you spawn at Blueberry..
Reply
#23

Quote:
Originally Posted by Cannary2048
View Post
I found a bug, if a door's interior's interior is other than 0, /exit will get you spawn at Blueberry..
Can you show a video of it perhaps?
Reply
#24

Nice.
Reply
#25

Oh lord I tried this script on my privat server.
The script has so many glitches and bugs.
I do not recommend you guys to download this.
Reply
#26

Quote:
Originally Posted by MatsFox
View Post
Oh lord I tried this script on my privat server.
The script has so many glitches and bugs.
I do not recommend you guys to download this.
Explain them and help me fix it instead of complaining?
Reply
#27

Fix commando exit.

Quote:

CMD:exit(playerid, params[])
{
for(new i=0; i < MAX_DOORS; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, DoorInfo[i][dInteriorX], DoorInfo[i][dInteriorY], DoorInfo[i][dInteriorZ]) && DoorInfo[i][dInteriorInt] == GetPlayerInterior(playerid) && DoorInfo[i][dInteriorVir] == GetPlayerVirtualWorld(playerid))
{
SetPlayerInterior(playerid, DoorInfo[i][dExteriorInt]);
SetPlayerVirtualWorld(playerid, DoorInfo[i][dExteriorVir]);
SetPlayerPos(playerid, DoorInfo[i][dExteriorX], DoorInfo[i][dExteriorY], DoorInfo[i][dExteriorZ]);
SetPlayerFacingAngle(playerid, DoorInfo[i][dExteriorAngle]);
SetCameraBehindPlayer(playerid);
break;
}
}
return 1;
}

Reply
#28

You should try to avoid releasing content that isn't yours. By that I mean, you included all the server files and some plugins/includes that you didn't make. I know it sounds minor, but it is technically copyright, and the mods will remove your download link.

I would recommend providing a download list for what you need. Then you don't have to worry about having your content removed.

Also watch for inefficiencies in your code, things such as
pawn Code:
stock AntiDeAMX()
{
    new a[][] =
    {
        "Unarmed (Fist)",
        "Brass K"
    };
    #pragma unused a
}
Using the #pragma function is heavily frowned upon.
Reply
#29

Quote:
Originally Posted by TakeiT
View Post
You should try to avoid releasing content that isn't yours. By that I mean, you included all the server files and some plugins/includes that you didn't make. I know it sounds minor, but it is technically copyright, and the mods will remove your download link.

I would recommend providing a download list for what you need. Then you don't have to worry about having your content removed.

Also watch for inefficiencies in your code, things such as
pawn Code:
stock AntiDeAMX()
{
    new a[][] =
    {
        "Unarmed (Fist)",
        "Brass K"
    };
    #pragma unused a
}
Using the #pragma function is heavily frowned upon.
I'll keep my eyes peeled. Thanks.
Reply
#30

Link down
Reply
#31

Ideal for new scripter's I like it!
Reply
#32

I tried this, but when I go IG it won't connect.

I noticed the mysql didn't load at all.
Reply
#33

Very nice script, but the mute command is pretty useless for RP servers as it disables the player from doing any RP at all, but everything else looks amazing. Good job!
Reply
#34

Can you run it, DarkLored?
Reply
#35

Make sure you have the database.db in your scriptfiles and he is not using mysql he is using SQLite those are two different things. Download the 0.3.7 server package with the updated includes and just extract the .pwn and .amx files to your gamemode folder and it should work.
Reply
#36

Thanks mate, I'll try that.
Reply
#37

Alright, I managed to load it. But now, new problems. I'm new to this SQlite thing, how do I search the db? Is there a browser I can use?
Reply
#38

Quote:
Originally Posted by Strummer
View Post
Alright, I managed to load it. But now, new problems. I'm new to this SQlite thing, how do I search the db? Is there a browser I can use?
Google it. Or I think I included one with the script.
Reply
#39

Good job.
Reply
#40

Awesome Gamemode man!Very good for newbies! +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)