Bank Robbery Problems
#1

pawn Код:
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(15097) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19459) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19471) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19471) : warning 215: expression has no effect
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19503) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19538) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(44063) : warning 203: symbol is never used: "CivPedsFemale"
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(44063) : warning 203: symbol is never used: "CivPedsMale"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
19459
pawn Код:
if(BankRobbery) SendClientMessage(playerid, COLOR_GREY, "A bank robbery is already being setup.");
19471
pawn Код:
BankRobbery = 1;
19487
pawn Код:
if(!BankRobbery) SendClientMessage(playerid, COLOR_GREY, "There's no bank robbery being setup.");
19503
pawn Код:
if(!BankRobbery) SendClientMessage(playerid, COLOR_GREY, "There's no bank robbery being setup.");
19538
pawn Код:
if(!BankRobbery) SendClientMessage(playerid, COLOR_GREY, "There's no bank robbery being setup.");
Reply
#2

Quote:

C:\Users\Artur\Downloads\samp037_svr_R1_win32\game modes\PRP.pwn(44063) : warning 203: symbol is never used: "CivPedsFemale"
C:\Users\Artur\Downloads\samp037_svr_R1_win32\game modes\PRP.pwn(44063) : warning 203: symbol is never used: "CivPedsMale"

Delete CivPedsMale and CivPedsFemale

Why didn't you show the Stiring problem line?
Reply
#3

Problem is with the errors marked line by line not in warnings
Reply
#4

but, The problem shows for String
Reply
#5

PHP код:
if(BankRobbery == 0) return SendClientMessage(playeridCOLOR_GREY"There's no bank robbery being setup."); 
instead of lines 19487, 19503, 19538
Reply
#6

Its not associated with bank robbery commands
Reply
#7

Quote:
Originally Posted by Moudix
Посмотреть сообщение
PHP код:
if(BankRobbery == 0) return SendClientMessage(playeridCOLOR_GREY"There's no bank robbery being setup."); 
instead of lines 19487, 19503, 19538
Quote:
Originally Posted by Lunixx
Посмотреть сообщение
Its not associated with bank robbery commands
Do the same as Moudix says.I was forgot about the return code. sorry
Reply
#8

pawn Код:
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : warning 215: expression has no effect
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 001: expected token: ";", but found ")"
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : fatal error 107: too many error messages on one line
Reply
#9

Quote:
Originally Posted by Lunixx
Посмотреть сообщение
pawn Код:
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : warning 215: expression has no effect
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 001: expected token: ";", but found ")"
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : error 029: invalid expression, assumed zero
C:\Users\Artur\Downloads\samp037_svr_R1_win32\gamemodes\PRP.pwn(19487) : fatal error 107: too many error messages on one line
Show the line of the edit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)