My code isnt working
#10

Quote:
Originally Posted by stormchaser206
Посмотреть сообщение
If you aren't gonna help, don't post.
Fine, you want my help?

Change this:
pawn Код:
dcmd_joinwar(playerid)
to
pawn Код:
dcmd_joinwar(playerid, params[])
Delete:
pawn Код:
new nCity[25];
Change this:
pawn Код:
new warname[20] = WarOneInfo[War1Name];
to
pawn Код:
new warname[20];
new string[21];
format(string, sizeof(string), "%s", WarOneInfo[War1Name]);
Change this:
pawn Код:
new city[20] = WarOneInfo[War1City];
to
pawn Код:
new city[20];
new string[21];
format(string, sizeof(string), "%s", WarOneInfo[War1City]);
Change this:
pawn Код:
if(city == "Los Santos")
to
pawn Код:
if(strcmp(city, "Los Santos") == 0)
Change this:
pawn Код:
if(city == "The Countryside")
to
pawn Код:
if(strcmp(city, "The Countryside") == 0)
Change this:
pawn Код:
if(city == "Las Venturas")
to
pawn Код:
if(strcmp(city, "Las Venturas") == 0)
Change this:
pawn Код:
if(city == "The Desert")
to
pawn Код:
if(strcmp(city, "The Desert") == 0)

And no, I'm not going to explain any of it! You didn't want to listen to me when I kindly explained how you would find your errors. I even explained 2 of them in detail!
Good luck with it! You learned nothing!
Reply


Messages In This Thread
My code isnt working - by stormchaser206 - 14.06.2012, 20:15
Re: My code isnt working - by stormchaser206 - 16.06.2012, 18:18
Re: My code isnt working - by stormchaser206 - 18.06.2012, 20:14
Re: My code isnt working - by FUNExtreme - 18.06.2012, 21:39
Re: My code isnt working - by stormchaser206 - 18.06.2012, 22:47
Re: My code isnt working - by stormchaser206 - 18.06.2012, 22:54
Re: My code isnt working - by Kindred - 18.06.2012, 23:13
Re: My code isnt working - by TyThaBomb - 19.06.2012, 00:31
Re: My code isnt working - by stormchaser206 - 19.06.2012, 15:55
Re: My code isnt working - by FUNExtreme - 19.06.2012, 18:27

Forum Jump:


Users browsing this thread: 2 Guest(s)