SA-MP Forums Archive
[GameMode] [EO] Los Santos Cops and Robbers - 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] [EO] Los Santos Cops and Robbers (/showthread.php?tid=625000)

Pages: 1 2 3 4


[EO] Los Santos Cops and Robbers [SQLite Based] - Eoussama - 26.12.2016

Los Santos
EO Cops and Robbers

Released 03/22/2017 ( version 4.0 )




---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Quote:

This is an ongoing project, started on 15/10/2016 (approximately), built entirely from scratch, I'll try to update the gamemode regularly,
This is a free to use gamemode, but on one condition, do no try to sell it or make any financial gains from it(except for selling VIP status), The only reason this was created,
is to let people share it and play with friends, Please, if you plan to use this game mode, Just include the credits!

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------


In case you encountered some bugs, Please, report them on this thread, as well as if you had any suggestions!
Have fun!



Re: [EO] Los Santos Cops and Robbers - Jelly23 - 26.12.2016

1 - You might want to read this: https://sampforum.blast.hk/showthread.php?tid=570635

2 - Use foreach..

3 - Give credit to the author of the attachment system you added in your gamemode.

4 - There is barely 70 characters in this string, aswell as many others
PHP Code:
new bstr[85];
format(bstrsizeof(bstr), "[INFO]: {FFFFFF}You have successfully put $%i in your bank account",strval(inputtext)); 
5 - 250 cells? uh... what? A client message can have the maximum of 128 cells, you don't even need that.
PHP Code:
CMD:report(playeridparams[]){
    if(
PlayerInfo[playerid][LoggedIn] == false) return SendClientMessage(playeridRED"[ERROR]: You are not connected");
    new 
IDReason[100],str[250];
    if(
sscanf(params,"us",ID,Reason)) return SCM(playeridWHITE"[USAGE]: /report (ID) (Reason)") && SCM(playeridBLREN"[FUNCTION]:{FFFFFF} Report a specific pleyr for a specific reason");
    if(!
IsPlayerConnected(ID)) return SCM(playeridRED"[ERROR]: This player is not connected");
    
SCM(playeridYELLOW"[INFO]: {FFFFFF}Your report was sent to all connected staff members!");
    
format(strsizeof(str), "[REPORT]: {FFFFFF}%s(%i) Has reported %s(%i), Reason: %s",GetName(playerid),playerid,GetName(ID),ID,Reason);
    for(new 
i=0;i<MAX_PLAYERS;i++){
        if(!
IsPlayerConnected(i)) continue;
        if(
PlayerInfo[i][AdminLevel]>=1)
            
SCM(i,ORANGEstr);
    }
    return 
1;

6 - Wasting cells once again, it isn't even close to be 120.

PHP Code:
str[120];
format(strsizeof(str), "**%s has paid for his ticket"name);
SCM(cidBLRENstr); 
7 - Why are these colors defined? you are not even using them..

PHP Code:
#define LIGHTBLUE 0x33CCFFAA
#define GREY 0xAFAFAFAA 



Re: [EO] Los Santos Cops and Robbers - Bolex_ - 26.12.2016

Also add credits to other creators of filterscipts...


Re: [EO] Los Santos Cops and Robbers - Eoussama - 26.12.2016

Quote:
Originally Posted by Scripter18
View Post
Also add credits to other creators of filterscipts...
The only thing that's not mine, is the attachment system, I didn't use any other FS


Re: [EO] Los Santos Cops and Robbers - Chesher - 26.12.2016

Hi upload a full package please.


Re: [EO] Los Santos Cops and Robbers - Chesher - 27.12.2016

Errors found.

Quote:

C:\Users\Dodong\Desktop\EO_CnR v(1.5)\pawno\include\YSI\internal\y_dohooks.inc(90 5) : error 021: symbol already defined: "OnPlayerCommandText"
C:\Users\Dodong\Desktop\EO_CnR v(1.5)\pawno\include\dialogs.inc(354) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\Dodong\Desktop\EO_CnR v(1.5)\gamemodes\CNR.pwn(1024) : warning 202: number of arguments does not match definition
C:\Users\Dodong\Desktop\EO_CnR v(1.5)\gamemodes\CNR.pwn(2509) : error 017: undefined symbol "GetPlayerPoolSize"
C:\Users\Dodong\Desktop\EO_CnR v(1.5)\gamemodes\CNR.pwn(3166) : warning 202: number of arguments does not match definition
C:\Users\Dodong\Desktop\EO_CnR v(1.5)\gamemodes\CNR.pwn(5389) : warning 202: number of arguments does not match definition
C:\Users\Dodong\Desktop\EO_CnR v(1.5)\gamemodes\CNR.pwn(7175) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.




Re: [EO] Los Santos Cops and Robbers - coool - 27.12.2016

Quote:
Originally Posted by Chesher
View Post
Errors found.
Which sa-mp version are you using?


Re: [EO] Los Santos Cops and Robbers - Chesher - 27.12.2016

Quote:
Originally Posted by coool
View Post
Which sa-mp version are you using?
0.3.7


Re: [EO] Los Santos Cops and Robbers - Eoussama - 27.12.2016

Screenshots added


Re: [EO] Los Santos Cops and Robbers - Problems - 27.12.2016

Good job


Re: [EO] Los Santos Cops and Robbers - BurnZ - 27.12.2016

The entire admin, robbery system, and literally everything in pawno/include/cnr is from CZCNR game mode.

At least it was in the old version.


Re: [EO] Los Santos Cops and Robbers - Eoussama - 27.12.2016

Quote:
Originally Posted by BurnZ
View Post
The entire admin, robbery system, and literally everything in pawno/include/cnr is from CZCNR game mode.

At least it was in the old version.
Dude, this was built from scratch,(only the attachment system was brought from a FS)


Re: [EO] Los Santos Cops and Robbers - iLearner - 27.12.2016

Quote:
Originally Posted by Eoussama
View Post
Dude, this was built from scratch,(only the attachment system was brought from a FS)
Don't worry about him, he's a professional faggot who does nothing at all, but says shit here and there with his useless comments.


OT: Good work.


Re: [EO] Los Santos Cops and Robbers - Quinncell - 27.12.2016

Quote:
Originally Posted by iLearner
View Post
Don't worry about him, he's a professional faggot who does nothing at all, but says shit here and there with his useless comments.


OT: Good work.
What is a professional faggot, lol?

OT: I really hope you made this from scratch, since it's pretty good. I'm glad you are learning pawn fast, well done!


Re: [EO] Los Santos Cops and Robbers - mrsaad22 - 27.12.2016

I cant Add My Self ADmin ?? pls help

i type this command
/rcon login [MyPass]
/level 0 5
So This Error Comes You Are Not Staff Member..
Pls Help I am New!
All Script Is VERY NICE Thanks I used it in my server And Works Well


Re: [EO] Los Santos Cops and Robbers - Eoussama - 27.12.2016

Quote:
Originally Posted by mrsaad22
View Post
I cant Add My Self ADmin ?? pls help

i type this command
/rcon login [MyPass]
/level 0 5
So This Error Comes You Are Not Staff Member..
Pls Help I am New!
All Script Is VERY NICE Thanks I used it in my server And Works Well
firs, /rcon login [your password]
second, /set [your name or your ID] [level] [1 or 2 or 3 or 4 or 5]
that's it


Re: [EO] Los Santos Cops and Robbers - sam1929 - 27.12.2016

this would be sooooooo nice with mysql system the things you can do with mysql wow, so far it looks Absolutely amazing keep up all the great work bro + Rep.


Re: [EO] Los Santos Cops and Robbers - RyderX - 27.12.2016

Keep goin' Bro


Re: [EO] Los Santos Cops and Robbers - kelvinis - 27.12.2016

Looks very good!


Re: [EO] Los Santos Cops and Robbers - Chesher - 28.12.2016

how to fix this?
Quote:

C:\Users\Dodong\Desktop\New folder\pawno\include\YSI\y_hooks/impl.inc(923) : error 021: symbol already defined: "OnPlayerCommandText"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.