fishing problem
#1

Код:
	if (strcmp(cmdtext, "/fish", true)==0)
	{
 	new vehid;
	vehid = GetVehicleModel(playerid);

	if(vehid == 446 || vehid == 472 || vehid == 473 || vehid == 493 || vehid == 595 || vehid == 484 || vehid == 430 || vehid == 453 || vehid == 452 || vehid == 454)
	{
  SendClientMessage(playerid,COLOR_LIGHTBLUE,"[FISHING]: You caught a fish and replenished some health.");
	new oldhealth;
	oldhealth = GetPlayerHealth(playerid);
	SetPlayerHealth(playerid,oldhealth + 20);
	}
	else
	{
	SendClientMessage(playerid,COLOR_RED,"[FISHING]: Your not in water! Fish don't come out of the concrete!");
	}
  return 1;
	}
i get following error:

Код:
C:\PROGRA~1\ROCKST~1\GAMEMO~1\paradise.pwn(1679) : warning 202: number of arguments does not match definition
Reply


Messages In This Thread
fishing problem - by CJ101 - 25.02.2009, 19:31
Re: fishing problem - by Grim_ - 25.02.2009, 20:08
Re: fishing problem - by CJ101 - 25.02.2009, 20:14
Re: fishing problem - by Rks25 - 25.02.2009, 20:18
Re: fishing problem - by CJ101 - 25.02.2009, 20:19
Re: fishing problem - by yom - 25.02.2009, 20:20
Re: fishing problem - by CJ101 - 25.02.2009, 20:28
Re: fishing problem - by Lewwy - 25.02.2009, 20:29
Re: fishing problem - by kc - 25.02.2009, 20:30
Re: fishing problem - by CJ101 - 25.02.2009, 20:57

Forum Jump:


Users browsing this thread: 1 Guest(s)