warning 201: redefinition of constant/macro (symbol "string")
#1

tittle is the Error and the coes are
PHP код:
CMD:buycookies(playeridparams[])
{
    new 
MoneysCookies,String[125];
    
#define string String // Error line 
Reply
#2

pawn Код:
CMD:buycookies(playerid, params[])
{
    new Moneys, Cookies,String[125];
??

EDIT: If you get 'Undefined Symbol: string" errors, just press CTRL+H and replace 'string' with 'String', but make sure you're only replacing the ones in the command 'buycookies'.
Reply
#3

I don't get why would you define string String? Where exactly you're trying to 'get' ? You don't need the #define line, you can delete it all. And how about posting the whole command if you get any other errors ?
Reply
#4

Quote:
Originally Posted by antonio112
Посмотреть сообщение
I don't get why would you define string String? Where exactly you're trying to 'get' ? You don't need the #define line, you can delete it all. And how about posting the whole command if you get any other errors ?
Tahnks , I removed it it's fixed
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)