Hello, pleace help my for SetWorldBounds, why commands not work!?!?!?
else if (strcmp(cmd, "!close", true) == 0) {
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid,COLOR_GREEN,"**pm >> LOGIN!!!");
else {
SetWorldBounds(129.2857, -198.0357, 1316.25, 821.7857);
SendClientMessage(playerid,COLOR_GREEN,"**pm >> Map been closed!");
}
return 1;
}
else if (strcmp(cmd, "!open", true) == 0) {
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid,COLOR_GREEN,"**pm >> LOGIN!!!");
else {
SetWorldBounds(5000.0, -5000.0, 5000.0, -5000.0);
SendClientMessage(playerid,COLOR_GREEN,"**pm >> Map been opening!");
}
return 1;
}
Thanks advanced.