No command work
#9

Ok nice,

but, I have this warning:

Код:
C:\Users\Alexandre\Desktop\Serveur SAMP\gamemodes\FanatikS.pwn(990) : warning 225: unreachable code
The line :
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
 new
 pos,
 funcname[32];
 while (cmdtext[++pos] > ' ')
 {
    funcname[pos-1] = tolower(cmdtext[pos]);
 }
 format(funcname, sizeof(funcname), "cmd_%s", funcname);
 while (cmdtext[pos] == ' ') pos++;
 if (!cmdtext[pos]) cmdtext[pos] = '\1';
 return CallLocalFunction(funcname, "is", playerid, cmdtext[pos]);
 dcmd(specplayer, 10, cmdtext); <---------------------
 dcmd(specoff, 7, cmdtext);
And this error :

Код:
C:\Users\Alexandre\Desktop\Serveur SAMP\gamemodes\FanatikS.pwn(1754) : error 017: undefined symbol "isnull"
C:\Users\Alexandre\Desktop\Serveur SAMP\gamemodes\FanatikS.pwn(1755) : error 017: undefined symbol "params"
Reply


Messages In This Thread
No command work - by jcvag44800 - 30.10.2011, 11:22
Re : No command work - by jcvag44800 - 30.10.2011, 11:47
Re: No command work - by Max_Coldheart - 30.10.2011, 11:50
Re : No command work - by jcvag44800 - 30.10.2011, 11:53
Re : No command work - by jcvag44800 - 30.10.2011, 12:03
Re: No command work - by SmiT - 30.10.2011, 12:11
Re : No command work - by jcvag44800 - 30.10.2011, 12:12
Re: No command work - by SmiT - 30.10.2011, 12:22
Re : No command work - by jcvag44800 - 30.10.2011, 12:36
Re : No command work - by jcvag44800 - 30.10.2011, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)