SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 17/06/2020, 05:05 AM   #151
Shadow0707
Big Clucker
 
Join Date: Sep 2016
Posts: 92
Reputation: 7
Default Re: San Fierro Cops And Robbers

Quote:
Originally Posted by MWahyuDinarta View Post
how to fix it, now my pawno still compiling the script. never ends and never finished. spent much time, plz help
Follow this make sure every step is correct

https://github.com/zeelorenc/sf-cnr/...0Setup%20Guide

and use Zeex Compiler

https://github.com/pawn-lang/compiler/releases
Shadow0707 is offline   Reply With Quote
Old 17/06/2020, 07:58 AM   #152
MWahyuDinarta
Little Clucker
 
Join Date: Dec 2019
Location: Indonesia
Posts: 5
Reputation: 0
Default Re: San Fierro Cops And Robbers

Quote:
Originally Posted by Shadow0707 View Post
Follow this make sure every step is correct

https://github.com/zeelorenc/sf-cnr/...0Setup%20Guide

and use Zeex Compiler

https://github.com/pawn-lang/compiler/releases
now i get this

D:\ACNR\pawno\include\a_http.inc(22) : error 021: symbol already defined: "HTTP"
irresistible\cnr\features\visage\poker.pwn(55) : error 012: invalid function call, not a valid address
irresistible\cnr\features\visage\poker.pwn(55) : error 035: argument type mismatch (argument 4)
irresistible\cnr\features\visage\poker.pwn(55) : error 029: invalid expression, assumed zero
irresistible\cnr\features\visage\poker.pwn(55) : fatal error 107: too many error messages on one line


this is the code on that line

stock SetPlayerChatBubbleEx(playerid, color, Float:drawdistance, expiretime, const format[], va_args<>)
{
return SetPlayerChatBubble(playerid, va_return(format, va_start<5>), color, drawdistance, expiretime);
}
stock UpdateDynamic3DTextLabelTextEx(STREAMER_TAG_3D_TEX T_LABEL id, color, const format[], va_args<>)
{
return UpdateDynamic3DTextLabelText(id, color, va_return(format, va_start<3>));
}

stock ShowPlayerDialogEx(playerid, dialogid, style, caption[], button1[], button2[], const format[], va_args<>)
{
return ShowPlayerDialog(playerid, dialogid, style, caption, va_return(format, va_start<7>), button1, button2);
}
MWahyuDinarta is offline   Reply With Quote
Old 17/06/2020, 08:47 AM   #153
Shadow0707
Big Clucker
 
Join Date: Sep 2016
Posts: 92
Reputation: 7
Default Re: San Fierro Cops And Robbers

Quote:
Originally Posted by MWahyuDinarta View Post
now i get this

D:\ACNR\pawno\include\a_http.inc(22) : error 021: symbol already defined: "HTTP"
irresistible\cnr\features\visage\poker.pwn(55) : error 012: invalid function call, not a valid address
irresistible\cnr\features\visage\poker.pwn(55) : error 035: argument type mismatch (argument 4)
irresistible\cnr\features\visage\poker.pwn(55) : error 029: invalid expression, assumed zero
irresistible\cnr\features\visage\poker.pwn(55) : fatal error 107: too many error messages on one line


this is the code on that line

stock SetPlayerChatBubbleEx(playerid, color, Float:drawdistance, expiretime, const format[], va_args<>)
{
return SetPlayerChatBubble(playerid, va_return(format, va_start<5>), color, drawdistance, expiretime);
}
stock UpdateDynamic3DTextLabelTextEx(STREAMER_TAG_3D_TEX T_LABEL id, color, const format[], va_args<>)
{
return UpdateDynamic3DTextLabelText(id, color, va_return(format, va_start<3>));
}

stock ShowPlayerDialogEx(playerid, dialogid, style, caption[], button1[], button2[], const format[], va_args<>)
{
return ShowPlayerDialog(playerid, dialogid, style, caption, va_return(format, va_start<7>), button1, button2);
}
https://forum.sa-mp.com/showpost.php...&postcount=103

https://forum.sa-mp.com/showpost.php...8&postcount=49

read carefully.
Shadow0707 is offline   Reply With Quote
Old 04/07/2020, 12:35 AM   #154
MWahyuDinarta
Little Clucker
 
Join Date: Dec 2019
Location: Indonesia
Posts: 5
Reputation: 0
Default Re: San Fierro Cops And Robbers

can you please fix the .pwn and all of the scripts. and make it fully working compiled because there is no .amx . and if you succes to compile it, please upload it to mediafire with all the files of the server as like as includes, scriptfiles anything. because my problem is only one, i can't make it to be compiled. may you do that, please?
MWahyuDinarta is offline   Reply With Quote
Old 04/07/2020, 05:12 AM   #155
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,740
Reputation: 1686
Default Re: San Fierro Cops And Robbers

Quote:
Originally Posted by MWahyuDinarta View Post
because my problem is only one, i can't make it to be compiled. may you do that, please?
If there are errors, look in this topic for fixes (they're bound to be there).
Apart from that, don't use compiler (pawncc) that comes from sa-mp.com but use the community (aka Zeex's) compiler.

If you're uncertain which one you're using, compile this:
pawn Code:
#if defined __PawnBuild
    #warning You're using the community compiler!
#else
    #error You're using the default compiler!
#endif
__________________
When the opportunity presents itself to flip-a da table, uh, you flip-a da table.

Discord: Kwarde#8009
Kwarde is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] San Fierro Cops-Robbers-RPG v1.0 Stevo127 Gamemode Scripts 1480 09/05/2020 05:47 AM
[GameMode] San Fierro Cops and Robbers (Getting started) PatrickGTR Gamemode Scripts 14 10/03/2018 08:29 AM
[HELP]San Fierro Cops N Robbers GM Problems Gamo Server Support 5 19/05/2013 01:28 PM
[GameMode] San Fierro Cops And Robbers Angeloxs Server Support 7 06/07/2012 01:17 PM
San fierro cops and robbers? Add a team ! Vestax Scripting Help 0 14/01/2012 09:26 AM


All times are GMT. The time now is 05:28 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.