21.01.2012, 10:30
if (strcmp("/exit", cmdtext, true, 10) == 0) {
if(PlayerToPoint(15.0, playerid, 2454.717041,-1700.871582,1013.515197)) {
SendClientMessage(playerid, COLOR_FADE, "Vanzator: Scire /exit pentru a iesi!");
SetPlayerPos(playerid,2459.4539,-1690.9188,13.5453);
SetPlayerInterior(playerid, 0);
return 1;
}
}
if (strcmp("/etnobotanice", cmdtext, true, 10) == 0) {
SetPlayerCheckpoint(playerid, 2459.4539,-1690.9188,13.5453, 3.0);
SendClientMessage(playerid, COLOR_BLUELIGHTER, "Magazinul de Etnobotanice a fost plasat cu punctul rosu pe harta dumneavoastra.");
return 1;
}
is there any error on these line? cause it's givin me WARNING: LOOSE INDETITAION And command /exit is not working
if(PlayerToPoint(15.0, playerid, 2454.717041,-1700.871582,1013.515197)) {
SendClientMessage(playerid, COLOR_FADE, "Vanzator: Scire /exit pentru a iesi!");
SetPlayerPos(playerid,2459.4539,-1690.9188,13.5453);
SetPlayerInterior(playerid, 0);
return 1;
}
}
if (strcmp("/etnobotanice", cmdtext, true, 10) == 0) {
SetPlayerCheckpoint(playerid, 2459.4539,-1690.9188,13.5453, 3.0);
SendClientMessage(playerid, COLOR_BLUELIGHTER, "Magazinul de Etnobotanice a fost plasat cu punctul rosu pe harta dumneavoastra.");
return 1;
}
is there any error on these line? cause it's givin me WARNING: LOOSE INDETITAION And command /exit is not working