Have a problem mabey you can help....
#1

Код:
\samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : error 002: only a single statement (or expression) can follow each "case"
\samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : error 029: invalid expression, assumed zero
\samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : warning 215: expression has no effect
\samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : error 017: undefined symbol "i"
\samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : fatal error 107: too many error messages on one line
code line

Код:
		case 10:
		{
			for(new i = 0; i <= MAX_PLAYERS; i++)
			{
				if(IsPlayerConnected(i))
				{
					if (!IsPlayerInVehicle(i, stealcar))
					{
						SetAllPlayerCheckpoint(cwx, cwy, cwz, 16.0, 255);
						SetVehicleParamsForPlayer(stealcar,i,1,0);
					}
				}
			}
			return 1;
		}

       for(new i = 0; i <= MAX_PLAYERS; i++) //code error line
            {
                if(IsPlayerConnected(i))
                {
                    if (!IsPlayerInVehicle(i, stealcar))
                    {
                        SetPlayerCheckpoint(i,scx, scy, scz,5.0 );
                        SetVehicleParamsForPlayer(stealcar,i,1,0);
                    }
                    //SetAllPlayerCheckpoint(scx, scy, scz, 16.0, 255);
                }
            }
            return 1;
        }
Reply


Messages In This Thread
Have a problem maybe you can help.... - by trapped1 - 26.12.2010, 16:15
Re: Have a problem mabey you can help.... - by JaTochNietDan - 26.12.2010, 16:34
Re: Have a problem mabey you can help.... - by trapped1 - 26.12.2010, 16:39
Re: Have a problem mabey you can help.... - by Babul - 26.12.2010, 23:30
Re: Have a problem mabey you can help.... - by trapped1 - 26.12.2010, 23:57

Forum Jump:


Users browsing this thread: 2 Guest(s)