SA-MP Forums Archive
[GameMode] Sounj Bounj Freeroam ( My own from-scratch GM ). - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Sounj Bounj Freeroam ( My own from-scratch GM ). (/showthread.php?tid=263176)



Sounj Bounj Freeroam ( My own from-scratch GM ). - Ehab1911 - 20.06.2011

Hello guys, I am Ehab1911. This is my very first Made-From-Scratch Gamemode! I am releasing it due the problem of finding any chance of port forwarding my router to host it. And I hope that it will get positive comments, thank you =']

Questions you may think of:

A) What the heck is that name?
Myself I find it a little Chinese name, but when I was young I used to call Sponge Bob " Sounj Bounj ", So I named it Sounj Bounj to remember my childhood days.

B) What?! You're using the old Impluse99's maps!
Yes, I am using the old Impluse99's maps. I didn't have the time to map my own + they were released some-when.

C) Can I edit this?
Sure, you may edit it. But please keep my name in it / in credits. Thank you!

FEATURES:

Glasses: You have the ability to hold glasses(1-33), /cmds for more information.
All skins: You can find the whole GTA SA skins as they spawn at the same spawn point.
Admin System: It works great with LuxAdmin system.
Many maps: The server has more than 50 maps installed.
Car tuning saving system: Yeah ^^, You'll be able to tune any car you want in the 3 tunning shops and it will save.
Ehab1911's Nitrous System: It has the unique new nitrous system
Easy-Fix: You can press the Left mouse button(LMB) + H to fix the car
Radio System: The radio system has been installed too
IDK: I don't know, yes. It's normal like other ones

COMMANDS:
You may type /cmds to see the whole commands
/rcon login PASSWORD - will help you getting some other commands

MEDIA:

SCREENSHOTS:





VIDEO:
Soon

INSTALLATION:

COPY THE FILES TO YOUR SA-MP SERVER DIRECTORY.
AFTER THIS, ADD THE FILTER-SCRIPTS IN SERVER.CFG ON THE FILTER-SCRIPTS LINE
AND ADD streamer.dll TO YOUR PLUG-INS LINE IN SERVER.CFG


BUGS:
I think that sometimes skin selecting doesn't work, and spawns it with CJ, It'll be fixed in the next version
IF YOU FOUND ANY BUG, REPORT IT PLEASE

Download:

http://www.mediafire.com/?6x0bcytwlai1bh1


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - Scratch - 20.06.2011

nice....im gonna try this


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - Medo - 21.06.2011

Cool. Good work and your egyptian too.

Any way, I script since 2009.

Contact me "www.m-o-m@hotmail.com".


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - MA_proking - 21.06.2011

Code:
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10002) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10003) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10001) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10000) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10012) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10013) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10011) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10010) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10022) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10023) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10021) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10020) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10032) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10033) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10031) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10030) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10042) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10043) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10041) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10040) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10052) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10053) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10051) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10050) : warning 204: symbol is assigned a value that is never used: "neon"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Errors.
Please resolve


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - Ehab1911 - 21.06.2011

Quote:
Originally Posted by Scratch
View Post
nice....im gonna try this
Thank you!!

Quote:
Originally Posted by Medo
View Post
Cool. Good work and your egyptian too.

Any way, I script since 2009.

Contact me "www.m-o-m@hotmail.com".
Thank you mate, But I am from Palestine! I'll add you

Quote:
Originally Posted by MA_proking
View Post
Code:
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10002) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10003) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10001) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10000) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10012) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10013) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10011) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10010) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10022) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10023) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10021) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10020) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10032) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10033) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10031) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10030) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10042) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10043) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10041) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10040) : warning 204: symbol is assigned a value that is never used: "neon"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10052) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10053) : error 017: undefined symbol "AttachObjectToVehicle"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10051) : warning 204: symbol is assigned a value that is never used: "neon1"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\SOUNJB~1.PWN(10050) : warning 204: symbol is assigned a value that is never used: "neon"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Errors.
Please resolve
I just compiled it, nothing is wrong BUT ... Try this:

pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid) // Lookup the dialogid
    {
        case 1:
        {
            if(!response)
            {
                SendClientMessage(playerid, 0xFF0000FF, "You Canceled");
                return 1; // We processed it
            }
            switch(listitem) // This is far more efficient than using an if-elseif-else structure
            {
                case 0: // Listitems start with 0, not 1
                {
                    new neon = CreateObject(18647,0,0,0,0,0,0,100.0);
                    new neon1 = CreateObject(18647,0,0,0,0,0,0,100.0);
                    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    SendClientMessage(playerid, COLOR_RED, "Red Neon Installed");
                    SendClientMessage(playerid, COLOR_SYSTEM, " 200$ Has been taken from you! ");
                    GivePlayerMoney(playerid, -200);
                }
                case 1:
                {
                    new neon = CreateObject(18648,0,0,0,0,0,0,100.0);
                    new neon1 = CreateObject(18648,0,0,0,0,0,0,100.0);
                    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    SendClientMessage(playerid, COLOR_BLUE, "Blue Neon Installed");
                    SendClientMessage(playerid, COLOR_SYSTEM, " 200$ Has been taken from you! ");
                    GivePlayerMoney(playerid, -200);
                }
                case 2:
                {
                    new neon = CreateObject(18649,0,0,0,0,0,0,100.0);
                    new neon1 = CreateObject(18649,0,0,0,0,0,0,100.0);
                    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    SendClientMessage(playerid, COLOR_GREEN, "Green Neon Installed");
                    SendClientMessage(playerid, COLOR_SYSTEM, " 200$ Has been taken from you! ");
                    GivePlayerMoney(playerid, -200);
                }
                case 3:
                {
                    new neon = CreateObject(18650,0,0,0,0,0,0,100.0);
                    new neon1 = CreateObject(18650,0,0,0,0,0,0,100.0);
                    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    SendClientMessage(playerid, COLOR_YELLOW, "Yellow Neon Installed");
                    SendClientMessage(playerid, COLOR_SYSTEM, " 200$ Has been taken from you! ");
                    GivePlayerMoney(playerid, -200);
                }
                case 4:
                {
                    new neon = CreateObject(18651,0,0,0,0,0,0,100.0);
                    new neon1 = CreateObject(18651,0,0,0,0,0,0,100.0);
                    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    SendClientMessage(playerid, COLOR_PINK, "Pink Neon Installed");
                    SendClientMessage(playerid, COLOR_SYSTEM, " 200$ Has been taken from you! ");
                    GivePlayerMoney(playerid, -200);
                }
                case 5:
                {
                    new neon = CreateObject(18652,0,0,0,0,0,0,100.0);
                    new neon1 = CreateObject(18652,0,0,0,0,0,0,100.0);
                    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                    SendClientMessage(playerid, COLOR_WHITE, "White Neon Installed");
                    SendClientMessage(playerid, COLOR_SYSTEM, " 200$ Has been taken from you! ");
                    GivePlayerMoney(playerid, -200);
                }
            }

        }

    }
    return 0; // If you put return 1 here the callback will not continue to be called in other scripts (filterscripts, etc.).
}
And about that warning, replace line 499 with this:
pawn Code:
CreateDynamicObject(3374,1517.35498047,-1345.50195312,936.13934326,0.00000000,0.00000000,0.00000000); //object(sw_haybreak02) (178)
And put on the Plugins in Server.cfg - streamer.dll ( Don't miss the .dll )

Are you sure you didn't do anything to it? Because it works fine to me ...
Try to use another pawno ..

Check the picture if you don't believe that it works fine to me
http://localhostr.com/files/aeyf8w6/workz.JPG


AW: Sounj Bounj Freeroam ( My own from-scratch GM ). - Forbidden - 22.06.2011

The whole Script are Objects....


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - linuxthefish - 22.06.2011

Please don't use mediafire, it sucks for people with no javascript/new browser. Solidfiles for the win!


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - Ehab1911 - 12.07.2011

Okay I will upload any comnig version on Solidfiles


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - Mr.1337 - 12.07.2011

Simple & Nice one, alot of objects.


Re: Sounj Bounj Freeroam ( My own from-scratch GM ). - Ehab1911 - 12.07.2011

Thank you Mr.1337 =]