[Pomoc]Erori

Započeo caupton, Jul 05, 2011, 22:39:23 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Svoj GameMod
Detaljan opis problema:Erori:
Dio skripte:

COSi[playerid] = TextDrawCreate(48.000000, 151.000000, "Salon");
   TextDrawBackgroundColor(COSi[playerid], 255);
   TextDrawFont(COSi[playerid], 2);
   TextDrawLetterSize(COSi[playerid], 0.450000, 1.000000);
   TextDrawColor(COSi[playerid], -16776961);
   TextDrawSetOutline(COSi[playerid], 1);
   TextDrawSetProportional(COSi[playerid], 1);
   TextDrawUseBox(COSi[playerid], 1);
   TextDrawBoxColor(COSi[playerid], 90);
   TextDrawTextSize(COSi[playerid], 230.000000, 0.000000);

   COSi2[playerid] = TextDrawCreate(48.000000, 164.000000, "Vozilo: ~g~%s~n~~w~Cena: ~g~%d~n~~w~Zakljucan: ~g~%s");
   TextDrawBackgroundColor(COSi2[playerid], 255);
   TextDrawFont(COSi2[playerid], 1);
   TextDrawLetterSize(COSi2[playerid], 0.450000, 1.000000);
   TextDrawColor(COSi2[playerid], -1);
   TextDrawSetOutline(COSi2[playerid], 1);
   TextDrawSetProportional(COSi2[playerid], 1);
   TextDrawUseBox(COSi2[playerid], 1);
   TextDrawBoxColor(COSi2[playerid], 90);
   TextDrawTextSize(COSi2[playerid], 230.000000, 0.000000);

   COSi3[playerid] = TextDrawCreate(48.000000, 195.000000, "Za kupovinu stisnite Enter, a za odustati stisni space ili Shift");
   TextDrawBackgroundColor(COSi3[playerid], 255);
   TextDrawFont(COSi3[playerid], 1);
   TextDrawLetterSize(COSi3[playerid], 0.450000, 1.000000);
   TextDrawColor(COSi3[playerid], -1);
   TextDrawSetOutline(COSi3[playerid], 1);
   TextDrawSetProportional(COSi3[playerid], 1);
   TextDrawUseBox(COSi3[playerid], 1);
   TextDrawBoxColor(COSi3[playerid], 90);
   TextDrawTextSize(COSi3[playerid], 230.000000, 0.000000);

   COSi4[playerid] = TextDrawCreate(48.000000, 226.000000, "Koristi: < ~g~Levo~w~ > < ~g~Desno~w~ > za listanje vozila!");
   TextDrawBackgroundColor(COSi4[playerid], 255);
   TextDrawFont(COSi4[playerid], 1);
   TextDrawLetterSize(COSi4[playerid], 0.450000, 1.000000);
   TextDrawColor(COSi4[playerid], -1);
   TextDrawSetOutline(COSi4[playerid], 1);
   TextDrawSetProportional(COSi4[playerid], 1);
   TextDrawUseBox(COSi4[playerid], 1);
   TextDrawBoxColor(COSi4[playerid], 90);
   TextDrawTextSize(COSi4[playerid], 230.000000, 0.000000);

Neke slike/video za lakse dobivanje pomoci(neobavezno)://

C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(2473) : warning 219: local variable "money" shadows a variable at a preceding level
C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(2499) : warning 219: local variable "money" shadows a variable at a preceding level
C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(3476) : error 017: undefined symbol "COSi"
C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(3476) : warning 215: expression has no effect
C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(3476) : error 001: expected token: ";", but found "]"
C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(3476) : error 029: invalid expression, assumed zero
C:\Users\Nikola\Desktop\Balkan Fyudzen RolePlay - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy - Copy (2)\gamemodes\FactionGame.pwn(3476) : fatal error 107: too many error messages on one line

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

Poslednja Izmena: Jul 05, 2011, 22:45:15 POSLE PODNE od |FRPG|SyPue

dragan12

Nisi definisao new Text:COSi[MAX_PLAYERS]; to dodas gore pod new
A ovaj warrning:
warning 219: local variable "money" shadows a variable at a preceding level
To ti znaci da vec imas definisano to money samo obrisi taj red.

Postavi linije errora-upozorenja vamo...