ZCMD not working in samp 0.3c R5 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ZCMD not working in samp 0.3c R5 (
/showthread.php?tid=297777)
ZCMD not working in samp 0.3c R5 -
MickJ - 17.11.2011
Need help here, my ZCMD include in pawn is not working when I updated to R5 from R2, Any idea how will I make this work again?
Re: ZCMD not working in samp 0.3c R5 -
Unte99 - 17.11.2011
Download the latest sscanf version.
https://sampforum.blast.hk/showthread.php?tid=120356
Re: ZCMD not working in samp 0.3c R5 -
MickJ - 18.11.2011
Almost some of the commands are working, How do I update from R2 to R5 what files do i need to add, when I enter businesses, /enter works, but when I enter houses, it doesn't I don't have any idea why. it also doesn't put up a text o n the screen when its locked, here is my code
Код:
for(new i = 0; i < sizeof(HouseInfo); i++) {
if (IsPlayerInRangeOfPoint(playerid,3,HouseInfo[i][hExteriorX], HouseInfo[i][hExteriorY], HouseInfo[i][hExteriorZ])) {
if(PlayerInfo[playerid][pPhousekey] == i || PlayerInfo[playerid][pPhousekey2] == i || HouseInfo[i][hLock] == 0 || PlayerInfo[playerid][pRenting] == i) {
SetPlayerInterior(playerid,HouseInfo[i][hHInteriorWorld]);
PlayerInfo[playerid][pInt] = HouseInfo[i][hHInteriorWorld];
PlayerInfo[playerid][pLocal] = i+6000;
PlayerInfo[playerid][pVW] = i+6000;
SetPlayerVirtualWorld(playerid, i+6000);
if(HouseInfo[i][hCustomInterior] == 1) {
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, "Objects loading...", 4000, 5);
SetPVarInt(playerid, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 4000, 0, "d", playerid);
}
SetPlayerPos(playerid,HouseInfo[i][hInteriorX],HouseInfo[i][hInteriorY],HouseInfo[i][hInteriorZ]);
SetPlayerFacingAngle(playerid,HouseInfo[i][hInteriorA]);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid, "~w~Welcome Home", 5000, 1);
Streamer_UpdateEx(playerid, HouseInfo[i][hInteriorX],HouseInfo[i][hInteriorY],HouseInfo[i][hInteriorZ]);
}
else {
GameTextForPlayer(playerid, "~r~Locked", 5000, 1);
}
return 1;
}
Re: ZCMD not working in samp 0.3c R5 -
CSSI - 18.11.2011
https://sampforum.blast.hk/showthread.php?tid=194031