h_badge
#1

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
Reply
#2

Make sure you have zcmd included.
Reply
#3

do you have
pawn Код:
#include <zcmd>
ontop of your script under <a_samp> include?
Reply
#4

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
Reply
#5

Um Show all code.
Reply
#6

You are most likely..

1) Missing the closing }
2) Typing it under OnPlayerCommandText
Reply
#7

I think i miss {
Reply
#8

CMD:hbadge(playerid, params[]) {

Try

CMD:hbadge(playerid, params[])
{
Reply
#9

Let me try
Reply
#10

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");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)