Wait Function
#4

It doesnt seem to work...

Now i get these errors:

error 029: invalid expression, assumed zero
error 017: undefined symbol "Wait"
error 029: invalid expression, assumed zero
error 017: undefined symbol "Wait"


Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/tune", cmdtext, true, 10) == 0)
    {
        if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 405)
				{
           AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); // Nitro
	      AddVehicleComponent(GetPlayerVehicleID(playerid), 1087); // Hydraulics
	      AddVehicleComponent(GetPlayerVehicleID(playerid), 1001); // Spoiler
	      AddVehicleComponent(GetPlayerVehicleID(playerid), 1006); // Roof Scoop
        	AddVehicleComponent(GetPlayerVehicleID(playerid), 1007); // Left Side Skirt
		AddVehicleComponent(GetPlayerVehicleID(playerid), 1017); // Right Side Skirt
		PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		SetTimerEx("Wait", 1000, false, "i", playerid);

		forward Wait(playerid);
		public Wait(playerid)
		{
  		PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		}

	 }
	 }
	 }
Reply


Messages In This Thread
Wait Function - by dirtychester - 13.05.2010, 12:25
Re: Wait Function - by DJDhan - 13.05.2010, 12:28
Re: Wait Function - by Killa_ - 13.05.2010, 12:32
Re: Wait Function - by dirtychester - 13.05.2010, 12:45
Re: Wait Function - by RyDeR` - 13.05.2010, 12:59
Re: Wait Function - by dirtychester - 13.05.2010, 13:09
Re: Wait Function - by On_Top_Non_Stop - 13.05.2010, 13:15
Re: Wait Function - by Killa_ - 13.05.2010, 13:42
Re: Wait Function - by RyDeR` - 13.05.2010, 13:44
Re: Wait Function - by dirtychester - 13.05.2010, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)