GameMode help ( repost )
#1

Hi , my friend made me a gamemode , and he gave me only .amx file , I wanted to make a change so i asked him to give me the .pwn file , but he has lost his Virtual Private Machine ( VPs ) so i used DeAMX to decompile the .amx file
and i made the changes , but when i try to compile it i get these errors :

(58 ) : warning 217: loose indentation
(81 ) : warning 217: loose indentation
(88 ) : error 017: undefined symbol "glob11A8"
(88 ) : warning 215: expression has no effect
(88 ) : error 001: expected token: ";", but found "]"
(88 ) : error 029: invalid expression, assumed zero
(88 ) : fatal error 107: too many error messages on one line

Here is the script : http://pastebin.com/pM8LPFh9

Please help me
Reply
#2

I got rid of the warnings and one error, can't seem to shake off others.
Reply
#3

on the top of the script:
new glob11A8[500];

and it will fix all the errors/warning in line 88.
Reply
#4

Already tried it, here's what you get
C:\Users\%255252\Desktop\Learning\gamemodes\delete .pwn(90) : error 001: expected token: ",", but found "["
C:\Users\%%%\Desktop\Learning\gamemodes\delete.pwn (90) : error 029: invalid expression, assumed zero
C:\Users\%%\Desktop\Learning\gamemodes\delete.pwn( 90) : warning 215: expression has no effect
C:\Users\%%%MAR\Desktop\Learning\gamemodes\delete. pwn(90) : error 001: expected token: ";", but found "]"
C:\Users\*\Desktop\Learning\gamemodes\delete.pwn(9 0) : fatal error 107: too many error messages on one line
Reply
#5

* * * * format(var1, 128, "{FF0000}Dibra-Gaming: {FFFFFF}%s tani лshtл njл %s", var0, glob11A8[glob0[playerid]][0]);
If you take a close look you will see 2 brackets there. l am on my phone right now can't direct It for you sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)