15.11.2009, 21:22
What am i doing wrong in THIS that makes it give me the "SERVER:Unknown Command" error ingame when i type "/opengate" ?
Originally Posted by jasonbridges
try
if(strcmp(cmd, "/opengate", true) == 0) |
Originally Posted by Ritchie999
Quote:
|
Originally Posted by E-Max
Quote:
Can you show us all code of opengate ? |
if (strcmp("/epr", cmdtext, true)==0) return 1;
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(183) : error 029: invalid expression, assumed zero C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(183) : warning 215: expression has no effect C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(183) : error 001: expected token: ";", but found ")" C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(183) : error 029: invalid expression, assumed zero C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(183) : fatal error 107: too many error messages on one line
if(!strlen(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE:/register [password]");
if(dini_Exists(file)) return SendClientMessage(playerid, COLOR_WHITE, "You are already registered!");