What is wrong with this?
#1

hello, this if for my phone script:
Код:
                        PlayerInfo[playerid][PhoneNumber] = RandomEx(0600000000, 0699999999);
At the top of the script my define is:
Код:
#define RandomEx(%0,%1) (random((%1) - (%0)) + (%0))'
Gives error C:\Users\Milan\Downloads\Own Gamemode Test\Own Gamemode Test\gamemodes\milanrp.pwn(4559) : error 027: invalid character constant
Reply
#2

Remove the apostrophe in the end of the #define.
Reply
#3

omg fail.... -_- I feel sooo stupid now.. I mean. Im scripting for 2 weeks only. I am making my own gamemode already. Made 7k lines of code.. Working private cars, factions etc.. and I miss this:P

Anyway thanksXD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)