18.06.2013, 02:47
My error:
The code:
Код:
warning 202: number of arguments does not match definition (in line 190)
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/adminroof", true)) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 1847.7333,-1761.9608,13.5469)) { SetPlayerPos(playerid, 1889.0286,-1782.9777,25.7911);//Naar boven SetPlayerInterior(playerid, 0); } } if(!strcmp(cmdtext, "/admindown", true)) ****LINE 190 IS HERE, PEOPLE, THE ERROR IS HERE IT SAYS**** { if(IsPlayerInRangeOfPoint(playerid, 3.0, 0,1889.0286,-1782.9777,25.7911)) { SetPlayerPos(playerid, 1847.7333,-1761.9608,13.5469);//Naar beneden SetPlayerInterior(playerid, 0); } } return 1; }