[Pitanje] Zabuna

Započeo ANDRIJAâ„¢, Septembar 08, 2012, 16:40:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Stari covek

Citat: Adnan Lord poslato Septembar 08, 2012, 18:53:22 POSLE PODNE
Sry za DP .. ali sve sam uradio sve ide super samo s Prelaza s strcmp na CMD dodju errori

C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : error 017: undefined symbol "cmd_kupistan"
C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : fatal error 107: too many error messages on one line


Evo linije j**** xD :D



if(strcmp(cmd, "/", true) == 0)
{
    ClearChatbox(playerid, 1);
    SendClientMessage(playerid, COLOR_SAY, "[SERVER POMOC]: Upisite komandu do kraja,ili kucajte /help");
    return 1;
}
LINIJA: 1184  CMD:kupistan(playerid, params[]) // kupovina stana
{
    for(new i = 0; i < sizeof(StanInfo); i++)
{
    GetPlayerName(playerid, imeigraca, sizeof(imeigraca));

Imas edit nemoj raditi DP nikako!
I da ZCMD komande idu van svakog callback-a ;)

[quote author=[OG:RP] Mr.Gagi link=topic=52944.msg386641#msg386641 date=1347129275]
Citat: Adnan Lord poslato Septembar 08, 2012, 18:53:22 POSLE PODNE
Sry za DP .. ali sve sam uradio sve ide super samo s Prelaza s strcmp na CMD dodju errori

C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : error 017: undefined symbol "cmd_kupistan"
C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Backup mod\gamemodes\rat.pwn(1184) : fatal error 107: too many error messages on one line


Evo linije j**** xD :D



if(strcmp(cmd, "/", true) == 0)
{
    ClearChatbox(playerid, 1);
    SendClientMessage(playerid, COLOR_SAY, "[SERVER POMOC]: Upisite komandu do kraja,ili kucajte /help");
    return 1;
}
LINIJA: 1184  CMD:kupistan(playerid, params[]) // kupovina stana
{
    for(new i = 0; i < sizeof(StanInfo); i++)
{
    GetPlayerName(playerid, imeigraca, sizeof(imeigraca));

Imas edit nemoj raditi DP nikako!
I da ZCMD komande idu van svakog callback-a ;)
[/quote]

Gledam temu i mogu reci samo:



Prvo:
Skini INCLUDE ZCMD,STAVI GA U FOLDER PAWNO/INCLUDE,NA VRH SKRIPTE #include <zcmd>,i dodaj tu tvoju CMD:kupistan na dno moda ili van bilo kog callback-a
Izvinjavam se na svim glupostima i ako sam nekome napisao nesto lose, neko drugi je koristio moj profil!
__________________________________________
https://bk.gta.world - GTA World Balkan - RAGEMP