19.11.2009, 16:02
then it says:
the CMD is:
Код:
C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9665) : warning 213: tag mismatch C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9667) : warning 213: tag mismatch C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9668) : warning 213: tag mismatch C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9669) : warning 213: tag mismatch C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9670) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Warnings.
pawn Код:
if(strcmp(cmd, "/edithinterior", true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GREY, "USAGE: /edithinterior [houseid] [interiorX] [interiorY] [interiorZ] [UniversalID]");
return 1;
}
giveplayerid = floatstr(tmp);
tmp = strtok(cmdtext, idx);
new a1 = floatstr(tmp);
new b2 = floatstr(tmp);
new c3 = floatstr(tmp);
new world = floatstr(tmp);
if ((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 105)
{
for(new i=0; i<MAX_HOUSES; i++)
{
HouseInfo[i][hExitx] = a1;
HouseInfo[i][hExity] = b2;
HouseInfo[i][hExitz] = c3;
HouseInfo[i][hWorld] = world;
format(string, sizeof(string), "-OperServ- Houseid %d it's interior has been set to %d, %d world %d and %d by admin %s", giveplayerid, a1, b2, c3, world, PlayerName[playerid]);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use this command.");
}
return 1;
}

