01.11.2018, 01:01
Hello, My problem is this, if someone helps me, it would be very helpful
PS: I'm very new in this
These are the errors:
And these are the lines:
PS: I'm very new in this
These are the errors:
Code:
C:\Users\Franco\Desktop\proyecto samp\gamemodes\grandlarc.pwn(542) : error 001: expected token: ";", but found "(" C:\Users\Franco\Desktop\proyecto samp\gamemodes\grandlarc.pwn(546) : error 028: invalid subscript (not an array or too many subscripts): "Dinero" C:\Users\Franco\Desktop\proyecto samp\gamemodes\grandlarc.pwn(546) : warning 215: expression has no effect C:\Users\Franco\Desktop\proyecto samp\gamemodes\grandlarc.pwn(546) : error 001: expected token: ";", but found "]" C:\Users\Franco\Desktop\proyecto samp\gamemodes\grandlarc.pwn(546) : error 029: invalid expression, assumed zero C:\Users\Franco\Desktop\proyecto samp\gamemodes\grandlarc.pwn(546) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Code:
Dinero(playerid, Dinero) //542 line { new Dinero = GetPlayerMoney(playerid) } COMMAND:dinero(playerid,params[]) //546 line { if(Dinero[playerid] <= 0); { GivePlayerMoney(playerid, 100000); SendClientMessage(playerid, COLOR_BLUE, "ЎDisfruta del dinero!"); } else (Dinero[playerid] >= 2); SendClientMessage(playerid, COLOR_RED, "ЎTu ya tienes dinero!"); return 1; }