MaFia_Eugen Posted March 24, 2013 Posted March 24, 2013 Deci am un FS cu o mapa si am 1280 de CreateObjectsi 34 RemoveBuildingForPlayer si nu imi apar unele CreateObject de ce ? Vreau raspuns rapid va rog [pawn]C:\Documents and Settings\Owner\Desktop\Servere samp\HighGameZone v2.5\filterscripts\Map.pwn(1285) : warning 217: loose indentationC:\Documents and Settings\Owner\Desktop\Servere samp\HighGameZone v2.5\filterscripts\Map.pwn(1323) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase2 Warnings.[/pawn]iar pe amanodo linile am S=space SSSSSretunt1;O sa incerc mapa pe alt gm si o sa va spun daca merge acolo :) [pawn]#include <a_samp>new Scripter;[/pawn]
BuBu Posted March 24, 2013 Posted March 24, 2013 Foloseste un streamer deoarece limita de Object (creteaobject) este de 1000 , poti verifica si pe acest site: http://wiki.sa-mp.com/wiki/LimitsIati streamer, ultima versiune si iti vor merge.
MaFia_Eugen Posted March 24, 2013 Author Posted March 24, 2013 Imi poti da si un link ?? Te rog si ms ai +1 respect [pawn]#include <a_samp>new Scripter;[/pawn]
MaFia_Eugen Posted March 24, 2013 Author Posted March 24, 2013 Gireada unde este acolo ?????? [pawn]#include <a_samp>new Scripter;[/pawn]
MaFia_Eugen Posted March 24, 2013 Author Posted March 24, 2013 Da ma dar asta e cu ceva legat de vehicle scz nu sunt prea priceput !!Daca aveti de unde sal descarc ???? [pawn]#include <a_samp>new Scripter;[/pawn]
MaFia_Eugen Posted March 24, 2013 Author Posted March 24, 2013 Ai unul bun te rog ! Si apropo ai +1 respect pt alea 200 de harti :D [pawn]#include <a_samp>new Scripter;[/pawn]
Gireada Posted March 24, 2013 Posted March 24, 2013 Uite aici unul Click, iar la [pawn]OnGameModeInit[/pawn] pui [pawn]Streamer_VisibleItems( STREAMER_TYPE_OBJECT, 5000 );[/pawn]
MaFia_Eugen Posted March 24, 2013 Author Posted March 24, 2013 Acesta este bun ? [pawn]/* xStreamer by Boylett */#if defined _xstreamer_included #endinput#endif#define _xstreamer_included#pragma library xstreamer#include <a_samp>//------------------------------------------------------------------------------#if !defined OBJECT_TIMER#define OBJECT_TIMER 350#endif//------------------------------------------------------------------------------native ConnectPlayer(playerid);native DisconnectPlayer(playerid);native StreamObjects(playerid,Float:x,Float:y,Float:z,virtualworld,interior);native UpdateMovingObjects();native xStreamer_Filterscript();//------------------------------------------------------------------------------forward sampCreatePlayerObject(playerid,modelid,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz);forward sampDestroyPlayerObject(playerid,objectid);forward sampMovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed);forward sampStopPlayerObject(playerid,objectid);forward xStreamer_Run();//------------------------------------------------------------------------------public sampCreatePlayerObject(playerid,modelid,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz){ //printf("CreatePlayerObject(%d,%d,%f,%f,%f,%f,%f,%f)",playerid,modelid,x,y,z,rx,ry,rz); return CreatePlayerObject(playerid,modelid,x,y,z,rx,ry,rz);}public sampDestroyPlayerObject(playerid,objectid){ //printf("DestroyPlayerObject(%d,%d)",playerid,objectid); return DestroyPlayerObject(playerid,objectid);}public sampMovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed){ //printf("MovePlayerObject(%d,%d,%f,%f,%f,%f)",playerid, objectid, X, Y, Z, Speed); return MovePlayerObject(playerid, objectid, X, Y, Z, Speed);}public sampStopPlayerObject(playerid,objectid){ printf("StopPlayerObject(%d,%d)",playerid,objectid); return StopPlayerObject(playerid,objectid);}public xStreamer_Run(){ UpdateMovingObjects(); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z; GetPlayerPos(i,x,y,z); StreamObjects(i,x,y,z,GetPlayerVirtualWorld(i),GetPlayerInterior(i)); } } return 1;}public OnFilterScriptInit(){ SetTimer("xStreamer_Run",OBJECT_TIMER,1); xStreamer_Filterscript(); return 1;}public OnPlayerConnect(playerid){ ConnectPlayer(playerid); return 1;}public OnPlayerDisconnect(playerid,reason){ DisconnectPlayer(playerid); return 1;}[/pawn] [pawn]#include <a_samp>new Scripter;[/pawn]
Gireada Posted March 24, 2013 Posted March 24, 2013 Ial pe ala. Ala e cel mai updatat si cel mai bine lucrat.
MaFia_Eugen Posted March 24, 2013 Author Posted March 24, 2013 Lam luat pala am intrat in el dar niet numi mai apar si am facut asa dar nu stiu daca acolo ai zis tu [pawn] OnGameModeInit(){ if (!Streamer_g_RI) { Streamer_VisibleItems( STREAMER_TYPE_OBJECT, 5000 ); Streamer_g_OPC = funcidx("Streamer_OnPlayerConnect") != -1; Streamer_g_OPDC = funcidx("Streamer_OnPlayerDisconnect") != -1; Streamer_g_OPPP = funcidx("Streamer_OnPlayerPickUpPickup") != -1; Streamer_g_OPEC = funcidx("Streamer_OnPlayerEnterCP") != -1; Streamer_g_OPLC = funcidx("Streamer_OnPlayerLeaveCP") != -1; Streamer_g_OPERC = funcidx("Streamer_OnPlayerEnterRaceCP") != -1; Streamer_g_OPLRC = funcidx("Streamer_OnPlayerLeaveRaceCP") != -1; Streamer_g_RI = true; Streamer_RegisterInterface(); } if (funcidx("Streamer_OnGameModeInit") != -1) { return CallLocalFunction("Streamer_OnGameModeInit", ""); } return 1;}[/pawn] [pawn]#include <a_samp>new Scripter;[/pawn]
Gireada Posted March 24, 2013 Posted March 24, 2013 Dar tu sti sa pui obiecte. Alea le pui in GameMode nu in includer. Sunt public OnGameModeInit in numeserver.pwn in GameMode
MaFia_Eugen Posted March 25, 2013 Author Posted March 25, 2013 Dar imi da erori cand compilez gm o sa fac alt topic pt asta si ms Gireada mai ajutat [pawn]#include <a_samp>new Scripter;[/pawn]
Question
MaFia_Eugen
Deci am un FS cu o mapa
si am 1280 de CreateObject
si 34 RemoveBuildingForPlayer si nu imi apar unele CreateObject de ce ?
Vreau raspuns rapid va rog
[pawn]C:\Documents and Settings\Owner\Desktop\Servere samp\HighGameZone v2.5\filterscripts\Map.pwn(1285) : warning 217: loose indentation
C:\Documents and Settings\Owner\Desktop\Servere samp\HighGameZone v2.5\filterscripts\Map.pwn(1323) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
[/pawn]
iar pe amanodo linile am S=space SSSSSretunt1;
O sa incerc mapa pe alt gm si o sa va spun daca merge acolo :)
[pawn]#include <a_samp>
new Scripter;[/pawn]
14 answers to this question
Recommended Posts