h_badge - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: h_badge (
/showthread.php?tid=483582)
h_badge -
TonyNames - 26.12.2013
can anyone help me with this
Код:
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(91395) : error 029: invalid expression, assumed zero
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(91395) : error 017: undefined symbol "cmd_hbadge"
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(91395) : error 029: invalid expression, assumed zero
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(91395) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
12 Errors.
Line:
Код:
CMD:hbadge(playerid, params[]) {
I dont see any H_Badge
Re: h_badge -
J4mmyHD - 26.12.2013
Make sure you have zcmd included.
Re: h_badge -
Smileys - 26.12.2013
do you have
ontop of your script under <a_samp> include?
Re: h_badge -
TonyNames - 26.12.2013
I have
Код:
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <audio>
#include <sscanf>
It dosent work
Re: h_badge -
Gr1Fax - 26.12.2013
Um Show all code.
Re: h_badge -
ConnorHunter - 26.12.2013
You are most likely..
1) Missing the closing }
2) Typing it under OnPlayerCommandText
Re: h_badge -
TonyNames - 26.12.2013
I think i miss {
Re: h_badge -
Gr1Fax - 26.12.2013
CMD:hbadge(playerid, params[]) {
Try
CMD:hbadge(playerid, params[])
{
Re: h_badge -
TonyNames - 26.12.2013
Let me try
Re: h_badge -
TonyNames - 26.12.2013
Nope i still getting the same error
Код:
CMD:hbadge(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) {
if(isnull(params)) {
SendClientMessageEx(playerid, COLOR_GREY, "USAGE: /hbadge [faction]" );
SendClientMessageEx(playerid, COLOR_GRAD3, "|1 LSPD |2 FBI |3 SFPD |4 FDSA |5 Judicial System");