Little help please? [+rep]
#1

Error
pawn Код:
C:\Users\Artur\Downloads\PZGRP\gamemodes\HSRP.pwn(38) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\PZGRP\gamemodes\HSRP.pwn(38 -- 586) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Part of the script
pawn Код:
new AutoMessages[][] = {
    "Welcome to Project:Z-Gaming Roleplay",
    "If there's no Admins available please make a report at Forums",
    "Check out our forums at projectz-gaming.esy.es",
    "Donations give great rewards. Check our forums for more info",
    "If youre having account issues please make administrative request on Forum",
    "This is a Medium RP Server. At all times YOU MUST roleplay",
    "Use /information to view our current information about our server.",
    "Type /changes to see any new changes to the script.",
    "Looking for some help? Use /requesthelp or /newb.",
    "The more active you are the more chance you have to be selected for Staff Team.",
}
Line 38(last line)
pawn Код:
}
Reply
#2

Write it like this:

PHP код:
stock const AutoMessages[][] = {
    {
"Welcome to Project:Z-Gaming Roleplay"},
    {
"If there's no Admins available please make a report at Forums"},
    {
"Check out our forums at projectz-gaming.esy.es"},
    {
"Donations give great rewards. Check our forums for more info"},
    {
"If youre having account issues please make administrative request on Forum"},
    {
"This is a Medium RP Server. At all times YOU MUST roleplay"},
    {
"Use /information to view our current information about our server."},
    {
"Type /changes to see any new changes to the script."},
    {
"Looking for some help? Use /requesthelp or /newb."},
    {
"The more active you are the more chance you have to be selected for Staff Team."}

Reply
#3

EDIT: FIXED. +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)