command help please.
#1

i made this cmd from scratch but i got 4errors said invalid expression or something like that what the proplem please help for that.
pawn Код:
CMD:vstorage(playerid, params[])
{
             for(new i; i < MAX_PLAYERVEHICLES; i++)
             {
               if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID)
               {
                 new vstring[1024];
                 format(vstring, sizeof(vstring), "%s\n%s", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);
                 LoadPlayerVehicles(playerid, pvId);(error)
                 return 1;
               }
               if(PlayerVehicleInfo[playerid][i][pvImpounded] == 1)
               {
                 new vstring[1024];
                 format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);
                 UnloadPlayerVehicles(playerid, pvId);(error)
                 return 1;
              }
              else
              {
                 new vstring[1024];
                 format(vstring, sizeof(vstring), "%s\nEmpty", vstring);
              }
              new vstring[1024];
              ShowPlayerDialog(playerid, VSTORAGE, DIALOG_STYLE_LIST, "OnStar Vehicle Storage", vstring, "(De)Spawn", "Cancel");(error)
              return 1;

this is error lines
pawn Код:
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95083) : warning 202: number of arguments does not match definition
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95090) : warning 202: number of arguments does not match definition
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : error 029: invalid expression, assumed zero
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : warning 215: expression has no effect
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : warning 215: expression has no effect
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : warning 215: expression has no effect
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : warning 215: expression has no effect
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : warning 215: expression has no effect
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : error 001: expected token: ";", but found ")"
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : error 029: invalid expression, assumed zero
F:\San Andreas\latest server job\h\h\gamemodes\VGRP.pwn(95099) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
command help please. - by eastern - 07.08.2013, 02:19
Re: command help please. - by PrinceKumar - 07.08.2013, 02:25
Re: command help please. - by Edix - 07.08.2013, 02:35
Re: command help please. - by Max5 - 07.08.2013, 02:39
Re: command help please. - by PrinceKumar - 07.08.2013, 02:44
Re: command help please. - by eastern - 07.08.2013, 02:44
Re: command help please. - by Edix - 07.08.2013, 02:45
Re: command help please. - by eastern - 07.08.2013, 02:48
Re: command help please. - by Edix - 07.08.2013, 02:52
Re: command help please. - by eastern - 07.08.2013, 02:56

Forum Jump:


Users browsing this thread: 1 Guest(s)