[pomoc]strcpm u ycmd

Započeo Riv3R4, Jun 10, 2013, 14:01:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Citat: [BC:RP] Mr.Gagi poslato Jun 10, 2013, 14:57:03 POSLE PODNE
Prebacicu ti ja sada ali ona komandu ko je neko dao gore sta tamo radi cmdtext?

Ovako treba mi par instrukcija sta ova komanda uopste radi ako moze?
Znaci ti trebas da kucas /itd dno/vrh i onda ako ukuca jednog od ta dva da nesto odradi, a ako otkuca samo /itd da odradi ono dole:
GetPlayerIp(playerid, String_Normal, 16);

if(strcmp(String_Normal, "127.0.0.1", false))
return Send(playerid, -1, #ITD_E"samp-server.exe is not running in this computer! Make sure the server is at localhost, not remote.");

if(ProjectEditor != playerid && ProjectEditor != INVALID_PLAYER_ID)
return Send(playerid, -1, #ITD_E"Another host is already using the editor.");


Send(playerid, -1, "Dobrodosli u {62E300}iPLEOMAX's Textdraw Editor{FFFFFF}.Izaberite jednu opciju da biste zapoceli.");
ProjectEditor = playerid;
ShowEditor();

Jel to treba da odradi ako sam ja dobro ukapirao komandu pa da ti prebacim?
ma ja da mi prebacis komandu u ycmd do kraja

prebacio sam sebi komandu ali imam problem sa undefined nezz kako ovo da definisem

C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2173) : error 017: undefined symbol "cmdtext"
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : error 017: undefined symbol "cmdtext"
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : warning 215: expression has no effect
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : error 029: invalid expression, assumed zero
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : fatal error 107: too many error messages on one line


tj cmdtext

  if(!strcmp(cmdtext[5], "vrh", true))

pax95

Citat: [Cyber]Master.amx poslato Jun 12, 2013, 19:51:19 POSLE PODNE
prebacio sam sebi komandu ali imam problem sa undefined nezz kako ovo da definisem

C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2173) : error 017: undefined symbol "cmdtext"
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : error 017: undefined symbol "cmdtext"
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : warning 215: expression has no effect
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : error 029: invalid expression, assumed zero
C:\DOCUME~1\ADMINI~1\Desktop\Elvis\CYBERR~1\cyber\FILTER~1\iTDe.pwn(2175) : fatal error 107: too many error messages on one line


tj cmdtext

  if(!strcmp(cmdtext[5], "vrh", true))
params to ti je u ycmd ono sto unosis ali ono sto je rekao Slay_ tacno je...
Poslednja Izmena: Jun 12, 2013, 20:43:00 POSLE PODNE od [BC:RP] Mr.Gagi