Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: [KB]ViceMania on December 10, 2012, 03:02:16 pm
-
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.
-
Setworldbounds?? You are crazy or what??
Ke yo sepa solo se usa en ongamemodeunit
es imposible usarlo en un comando
-
When you set the world bounds, you set for ALL , not just for one player !
Anyway, SetWorldBounds work just in "OnGameModeInit" .
If the player isn't logged, freeze him. :P
http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/TogglePlayerControllable
-
Damn! As always, ssseby answered first... >:(
-
Damn! As always, ssseby answered first... >:( ,
:D:D:D hehe seby is good player so veri nice know pawno :D:D:D
Sorry for my bad english!
-
so sseebbyy :D:D thanks :P