SA-MP Forums Archive
[ajuda]Erro no comando - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [ajuda]Erro no comando (/showthread.php?tid=166987)



[ajuda]Erro no comando - tshadow - 10.08.2010

Code:
pawn Код:
new TCarModel;
                        ShopCar[playerid] = CreateVehicle(TCarModel, 2461.6431,-41.9446,26.1095, 0.0, 0, 0, -1);
                        if(!IsNumeric(tmp)) TCarModel = GetVehicleModelIDFromName(tmp); else TCarModel = strval(tmp);
                        if(IsValidModel(TCarModel))
                        {
                            new valor;
                            new price = TCarModel-400;//linha
                            price = VehiclePrices[valor];
                            if (price <= GetPlayerCash(playerid))
                            {
erro:
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\TRV-RP.pwn(18125) : error 006: must be assigned to an array
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase



Re: [ajuda]Erro no comando - tshadow - 11.08.2010

Alguem me o pode ajudar?
Nгo percebo o que que o erro se estб a referir


Re: [ajuda]Erro no comando - TiagoPS - 11.08.2010

da um espaзo la no
pawn Код:
new price = TCarMode - 400;