Skripta koju koristim: NL ko uvijek xd
Detaljan opis problema: Glad/wc sistem sve sam sredio ne koliko bugova,pocetnik sam uspjeh ali ovo ne znam haah :D Pomoc :D
Dio skripte:
Greske ----
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12709) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12710) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12710) : warning 202: number of arguments does not match definition
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12711) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12711) : warning 202: number of arguments does not match definition
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12712) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12712) : warning 202: number of arguments does not match definition
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12713) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12713) : warning 202: number of arguments does not match definition
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12714) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12714) : warning 202: number of arguments does not match definition
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12715) : warning 213: tag mismatch
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12715) : warning 202: number of arguments does not match definition
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12716) : error 029: invalid expression, assumed zero
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12716) : warning 215: expression has no effect
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12716) : warning 215: expression has no effect
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12716) : error 001: expected token: ";", but found ")"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12716) : error 029: invalid expression, assumed zero
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(12716) : 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.
evo ga ta skripta ..
GladWCText = TextDrawCreate(497,100,"~r~Glad~w~: 100~n~~b~WC:~w~ 100");
PlayerTextDrawLetterSize(GladWCText,0.349999,1.600000);
PlayerTextDrawAlignment(GladWCText,0);
PlayerTextDrawBackgroundColor(GladWCText,0x000000FF);
PlayerTextDrawFont(GladWCText,2);
PlayerTextDrawUseBox(GladWCText,0);
PlayerTextDrawSetOutline(GladWCText,1);
PlayerTextDrawSetProportional(,GladWCText,1);
PlayerTextDrawSetShadow(GladWCText,0);
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Citat: Lenon poslato Februar 15, 2014, 13:16:02 POSLE PODNE
na vrh:
new PlayerText:GladWCText[MAX_PLAYERS];
ovi TDovi se kreiraju pod OnPlayerConnect, stavi ovako:
GladWCText[playerid] = CreatePlayerTextDraw(playerid, 497,100,"~r~Glad~w~: 100~n~~b~WC:~w~ 100");
PlayerTextDrawLetterSize(playerid, GladWCText[playerid],0.349999,1.600000);
PlayerTextDrawAlignment(playerid, GladWCText[playerid],0);
PlayerTextDrawBackgroundColor(playerid, GladWCText[playerid],0x000000FF);
PlayerTextDrawFont(playerid, GladWCText[playerid],2);
PlayerTextDrawUseBox(playerid, GladWCText[playerid],0);
PlayerTextDrawSetOutline(playerid, GladWCText[playerid],1);
PlayerTextDrawSetProportional(playerid,GladWCText[playerid],1);
PlayerTextDrawSetShadow(playerid, GladWCText[playerid],0);
ovo su "per player" TDovi i oni ti trebaju jer svakome zasebno kreiras TD da mu ocitava i prikazuje glad/wc.
Scve sam to kreirao pod onplayerspawn connect i tako dalje stockove davao i sve :)
Ali sada cu to da pokusa...