SERVER> Unknown Command

Započeo Robyo97o, Maj 23, 2010, 16:55:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Evo ja imam problem, radim stunt server..
Kod vecine komandi Dobijem SERVER> Unknown command!

Eh sada jel bi mi neko mogao pomoci plzzz

jesi ubacio ispod onplayercommandtext?...

Citat: Sam ãƒ,, poslato Maj 24, 2010, 09:24:22 PRE PODNE
jesi ubacio ispod onplayercommandtext?...
Naravno da jesam..
Neke komande rade, a neke ne :S

postaj konkretno koja ne radi i njezin kod...

Evo 1 primjer od puno  ???

Za DM /aio AllInOne

if (strcmp("/aio", cmdtext, true, 10) == 0)
{
    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Greska:","Teleport Greska!\n\n-Zao nam je ali nemozete se teleportirati nedgdje dok ste u DM areni. Upisi /kill da izadjes iz DM.", "Dobro", "UBI ME");
        DMZone[playerid] = 1;
SetPlayerPos(playerid, 813.9166,-3206.0054,6.6033);
SetPlayerInterior(playerid, 0);
    GameTextForPlayer(playerid, "~y~Veliki DM!", 4000, 6);
    GivePlayerWeapon(playerid, 38, 500);
    GivePlayerWeapon(playerid, 34, 100);
    GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 32, 300);
return 1;
}

Evo mali refresh.. (ja sam mu brat on sad nemre na komp :D)

Mozda mi to pise zbog ovih warninga?

C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(80) : warning 201: redefinition of constant/macro (symbol "DIALOGID")
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(322) : warning 225: unreachable code
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(604) : warning 225: unreachable code
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(624) : warning 217: loose indentation
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1429) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1430) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1431) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1492) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1492) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1492) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1503) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1503) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1503) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(1842) : warning 225: unreachable code
C:\Users\Roby.PC2\Desktop\SGStunt\SERVER\gamemodes\SS.pwn(2929) : warning 203: symbol is never used: "RandomPlayerSpawns"


Ako neko moze pomoc?

Redovi:

80
#define DIALOGID 6969

322
new stadium1;

604
if(strcmp(cmdtext, "/fixveh", true) == 0)

624
cmd = strtok(cmdtext, idx);

1429
new Float: X;

1430
new Float: Y;

1431
new Float: Z;

1492 (3 Warna)
SetPlayerPosWV(playerid, Float:X, Float:Y, Float:Z)

1503 (3 Warna)
SetPlayerPosEx(playerid, Float:X, Float:Y, Float:Z)[/code

1842
[code]if(dialogid == CARMENU)


2929
Jbg tu nema nis :S [/code]


pa koliko redova ti imas skripta?...
3k???...
btw imas na pocetku #include <a_samp>??...

Moj mod sto radim ima 2928 redova

imam include

Warninge zanemari.. Samo Erore mi daj

nastoe

Citat: Roby^^ poslato Maj 24, 2010, 10:54:34 PRE PODNE
Citat: Sam ãƒ,, poslato Maj 24, 2010, 09:24:22 PRE PODNE
jesi ubacio ispod onplayercommandtext?...
Naravno da jesam..
Neke komande rade, a neke ne :S
Moguce da imas konflikt sa vise procesora komandi, provjeri FS i provjeri procesore komandi u modu.
Poslednja Izmena: Maj 27, 2010, 13:25:34 POSLE PODNE od ExtremePower

Citat: à¹'Û©ÛžÛ©à¹'â—,,â,,¢Devilni Vilkoâ,,¢â–ºà¹'Û©ÛžÛ©à¹' poslato Maj 27, 2010, 13:00:47 POSLE PODNE
Warninge zanemari.. Samo Erore mi daj
Errore Nemam!


Citat: ExtremePower poslato Maj 27, 2010, 13:21:50 POSLE PODNE
Moguce da imas konflikt sa vise procesora komandi, provjeri FS i provjeri procesore komandi u modu.
Ne kuzim, kakve procesore...
FS mi sve rade..