29.12.2012, 07:01
This macro when I use it give me these errors:
This is the macro:
and here the line of error:
I hope you can help me!
Код:
error 001: expected token: "-string end-", but found "-identifier-" warning 215: expression has no effect error 001: expected token: ";", but found "-string-" warning 215: expression has no effect error 001: expected token: ";", but found ")" fatal error 107: too many error messages on one line
pawn Код:
#define Buy(%0)<%1> if(PlayerData[playerid][pMoney] < %0) { return NOTENOUGHMONEY } else { PlayerMoney(playerid, -%0); SendMessage(playerid, GREEN, "»» [ServerName] {FFFFFF}Compraste "%1" {FFFFFF}por "green"$"white""%0"."); }
pawn Код:
Buy(1500)<"un "red"color "green"al "blue"azar">
I hope you can help me!