4 errors -_-
#1

Код:
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1515) : error 012: invalid function call, not a valid address
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1515) : warning 215: expression has no effect
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1515) : error 001: expected token: ";", but found ")"
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1515) : error 029: invalid expression, assumed zero
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1515) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
PlayerTextDrawSetString(playerid, moneyhere(playerid), rob);
Reply
#2

Does your moneyhere(playerid) which you used in it exists? .. if yes can you show please?
Reply
#3

What is this
Quote:

moneyhere(playerid)

?
Reply
#4

it does exist lol i aint that dumb :P

pawn Код:
new PlayerText:moneyhere[MAX_PLAYERS];


    moneyhere[playerid]= CreatePlayerTextDraw(90.000000, 180.000000, "~g~Robbed $");
    TextDrawBackgroundColor(moneyhere(playerid), 255);
    TextDrawFont(moneyhere(playerid), 1);
    TextDrawLetterSize(moneyhere(playerid), 1.950000, 6.000000);
    TextDrawColor(moneyhere(playerid), -1);
    TextDrawSetOutline(moneyhere(playerid), 1);
    TextDrawSetProportional(moneyhere(playerid), 1);
Reply
#5

Found the problem! you use moneyhere(playerid)
it must be
pawn Код:
PlayerTextDrawSetString(playerid, moneyhere[playerid], rob);
Reply
#6

Maybe try this?

pawn Код:
PlayerTextDrawSetString(playerid, moneyhere[playerid], rob);


EDIT:Too late
Reply
#7

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)