Jelentkezz be, hogy követhesd  
Követő(k) 0
csabesz97

segitsen valkai ha lehet léci köszönöm

8 hozzászólás ebben a témában

Na az lenne most kezdtem el írni 1 stunt/dm/race/drift szervert és elakadtam mikor  a skin választoo van nem mutasa a skineket itt van leirva:

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>



public OnGameModeInit()
{
AddPlayerClass(0,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(1,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); 
AddPlayerClass(105,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); 
AddPlayerClass(106,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); 
AddPlayerClass(107,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(269,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(270,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(271,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(293,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(280,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(281,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(282,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(283,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(284,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(285,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(286,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(287,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(288,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(272,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(102,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(103,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(104,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(114,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(115,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(116,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(173,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(174,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(175,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(108,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(109,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(110,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(100,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(247,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(248,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(254,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(111,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(112,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(113,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(190,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(191,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(192,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(193,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(194,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(195,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(265,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(266,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(267,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(2,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(7,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(11,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(12,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(13,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(15,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(16,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(17,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(18,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(19,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(20,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(21,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(22,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
return 1;
}
    

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 366.5406,2470.5728,16.4844);
SetPlayerCameraPos(playerid, 366.5406,2470.5728,16.4844);
SetPlayerCameraLookAt(playerid, 366.5406,2470.5728,16.4844);
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid,60000);
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
	// Do something here
	return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}


Megosztás


Megosztás link alapján
Megosztás egy közösségi oldalon

public OnPlayerRequestClass(playerid, classid)

{

SetPlayerPos(playerid, 366.5406,2470.5728,16.4844); // a skin helye mikor választod

SetPlayerCameraPos(playerid, 366.5406,2470.5728,16.4844); // a kamera honnan vegye a skint v is az alatta lévo kordinátát

SetPlayerCameraLookAt(playerid, 366.5406,2470.5728,16.4844); // mit vegyen a kamera vagyis merre nézzen

return 1;

}

így kéne beállítani, egyszeru  a játék közben beírod /save a helyeken és x y z-t kiveszed ha nemtudod meik a xyz akkor a SetPlayerPos után raksz egy ( jelet és kiírja pl: SetPlayerPos(        ennyi és kiírja hogy melyik a te kordinátádba.

Megosztás


Megosztás link alapján
Megosztás egy közösségi oldalon

nem jó ): aki tud segiteni itt  amod csinálja meg ha lehet köszi

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>



public OnGameModeInit()
{
AddPlayerClass(0,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(1,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); 
AddPlayerClass(105,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); 
AddPlayerClass(106,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); 
AddPlayerClass(107,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(269,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(270,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(271,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(293,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(280,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(281,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(282,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(283,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(284,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(285,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(286,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(287,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(288,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(272,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(102,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(103,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(104,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(114,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(115,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(116,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(173,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(174,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(175,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(108,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(109,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(110,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(100,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(247,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(248,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(254,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(111,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(112,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(113,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(190,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(191,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(192,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(193,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(194,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(195,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(265,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(266,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0);
AddPlayerClass(267,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(2,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(7,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(11,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(12,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(13,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(15,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(16,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(17,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(18,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(19,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(20,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(21,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
AddPlayerClass(22,366.5406,2470.5728,16.4844,0.6475,348,100,0,0,0,0); // teleport
return 1;
}
    
public OnPlayerRequestClass(playerid, classid)
{
   SetPlayerPos(playerid, 366.5406,2470.5728,16.4844); // a skin helye mikor választod
   SetPlayerCameraPos(playerid, 366.5406,2470.5728,16.4844); // a kamera honnan vegye a skint v is az alatta lévo kordinátát
   SetPlayerCameraLookAt(playerid, 366.5406,2470.5728,16.4844); // mit vegyen a kamera vagyis merre nézzen
   return 1;
}
public OnGameModeExit()
{
return 1;
}



public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid,60000);
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
	// Do something here
	return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}


Megosztás


Megosztás link alapján
Megosztás egy közösségi oldalon

Azért nem látod, mert ugyanazok a koordináták mind a 3-nál.

A kamera pozícióját kell megváltoztatni h lásd a csávót.

A SetPlayerPos és a SetPlayerCameraLookAt koordinátája ugyanaz.A SetPlayerCameraPos koordinátát meg kell változtatni.

Eloször lemented hol legyen a csávó,azt berakod az elsö kettobe, utána arréb mész ahol legyen a kamera, lemented, és az lesz a SetPlayerCameraPos ...

Megosztás


Megosztás link alapján
Megosztás egy közösségi oldalon

tessék ...ez nem pont olyan de hasonló xD

SetPlayerCameraPos(playerid,1114.9421,-2037.0233,78.2109);
    SetPlayerCameraLookAt(playerid,1117.5811,-2037.0341,78.7500);

Megosztás


Megosztás link alapján
Megosztás egy közösségi oldalon
Vendég
A téma le van zárva, így nem szólhatsz hozzá!
Jelentkezz be, hogy követhesd  
Követő(k) 0