Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: linijka
1. Nie działa mi pewna linijka skryptu
Witam, Mam problem z t? linijk?
Kod:

if ( action == "start" ) then if ( startResource ( getResourceFromName ( name ), true ) ) then text = "started" end


Tak wygl?da b??d:
Kod:

[12] WARNING: [admin]serveradmin_server.lua:1196: Access denied @ 'startResource'


Ten b??d wyskakuje gdy chce w??czy? jaki? skrypt. Pomocy
2. [DM] Zbyt długa linijka
Witam,

Dzisiaj postanowi?em podzieli? moj? map? na includy, lecz mam pewien problem, mianowicie podczas kompilacji wyskakuj? mi errory:
[code]
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18536) : error 075: input line too long (after substitutions)
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18537) : error 037: invalid string (possibly non-terminated string)
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18537) : error 017: undefined symbol "W"
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18538) : error 017: undefined symbol "stecz"
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18538) : warning 215: expression has no effect
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18538) : error 001: expected token: ";", but found ")"
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18538) : error 029: invalid expression, assumed zero
C:Documents and SettingsKacperPulpitassasasaassasasapawnoincludeMAPA_PSZ/publics.pwn(18538) : fatal error 107: too many error messages on one line

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


7 Errors.
[/code]

Linijka w kt?rej jest b??d:

[code]
if(!response)
{
ShowPlay...
3. [INNE] linijka kodu onplayerupdate
mam problem z moim gm, u?y?em crashdetectora oto b??d:
Kod:


[20:03] [debug] #0 00007904 in public OnPlayerUpdate () from mapalsx_2.amx
[20:03] [debug] AMX backtrace:
[20:03] [debug] Accessing element at negative index -1
[20:03] [debug] Run time error 4: "Array index out of bounds"


a oto kod :
Kod:


public OnPlayerUpdate(playerid)
{
if(pInfo[playerid][Money] < 0)
pInfo[playerid][Money] = 0;

if(pInfo[playerid][Money] != GetPlayerMoney(playerid))
SetPlayerMoney(playerid, pInfo[playerid][Money]);

if(pInfo[playerid][EditingGZ])
{
new keys, updown, leftright, gzid = pInfo[playerid][EditingGZ];
GetPlayerKeys(playerid, keys, updown, leftright);

#define EDIT_SPEED 3.0
if(updown > 0) //down
{
gInfo[gzid][MinY] -= EDIT_SPEED;
RefreshGangZone(gzid);
}
else if(updown < 0) //up
{
gInfo[gzid][MaxY] += EDIT_SPEED;
RefreshGangZone(gzid);
}
else if(leftright > 0) //right
{
gInfo[gzid][MaxX] += EDIT_SPEED;
RefreshGangZone(gzid);
}
else if(leftright < 0) //left
{
gInfo[gzid][MinX] -= EDIT_SPEED;
RefreshGangZone(gzid);
}
}
return 1;
}
4. [GF] Linijka rejestracji w honescie
Witam.

Mam problemik , poniewa? przerobi?em lekko panel logowania , lecz mam co? takiego :

Kod:



C:UsersPrezesDesktopLiveTruck - ProjektP4RPgamemodesp4rp_v2.pwn(2771) : error 001: expected token: "-string end-", but found "-identifier-"
C:UsersPrezesDesktopLiveTruck - ProjektP4RPgamemodesp4rp_v2.pwn(2771) : warning 215: expression has no effect
C:UsersPrezesDesktopLiveTruck - ProjektP4RPgamemodesp4rp_v2.pwn(2771) : error 001: expected token: ";", but found "-string-"
C:UsersPrezesDesktopLiveTruck - ProjektP4RPgamemodesp4rp_v2.pwn(2771) : warning 215: expression has no effect
C:UsersPrezesDesktopLiveTruck - ProjektP4RPgamemodesp4rp_v2.pwn(2771) : error 001: expected token: "-string end-", but found "-identifier-"
C:UsersPrezesDesktopLiveTruck - ProjektP4RPgamemodesp4rp_v2.pwn(2771) : 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.


Linijka :

Kod:


dShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,""BIALY"Play4RolePlay - "KOLOR_ZIELONY"Panel Logowania",""BIALY"Witaj na serwerze Play4RolePlay !n"KOLOR_NIEBIESKI"Twoje konto jest zarejestrowane !! n"ZOLTY"Podaj has?o , aby sie zalogowa?:","Zaloguj","Wyjd?");


Co mo?e by? z tym nie tak ??

Za pomoc dam :arrow: :piwo: