Guest PlayON Posted March 15, 2011 Posted March 15, 2011 E imposibil, e ceva legat de client nu server...deci e client-side nu server-side...
antonio112 Posted March 15, 2011 Posted March 15, 2011 Cum sa fie imposibil? Am vazut pe nenumarate servere ... Trebuie sa fie o metoda ... :)
Guest PlayON Posted March 15, 2011 Posted March 15, 2011 Cum sa fie imposibil? Am vazut pe nenumarate servere ... Trebuie sa fie o metoda ... Posibil ceva legat de keys si statechange si SpawnPlayer, intreaba la americani (Eu unul nu stiu o metoda!)
antonio112 Posted March 15, 2011 Posted March 15, 2011 Am intrebat si acolo ( In topic`ul tau, cel cu FilterScript`ul ) dar nu raspunde nimeni ... Am incercat cu SetSpawnInfo, SpawnPlayer, toate ... dar nu merge nimic.
amaru Posted March 15, 2011 Posted March 15, 2011 public OnPlayerSpawn[playerid] { //cod cod return 1; }Si in functia care te logheaza scrie SpawnPlayer(playerid)
antonio112 Posted March 15, 2011 Posted March 15, 2011 Si aici ce ar trebui sa pun ? Coordonatele la care sa te spawneze ? public OnPlayerSpawn[playerid] { //cod cod return 1; }
amaru Posted March 15, 2011 Posted March 15, 2011 Da. Eventual poti sa pui conditii. Eu am asa.public OnPlayerSpawn(playerid) { if(PlayerInfo[playerid][Spawn] == 1) { SetPlayerPos(playerid, 1529.6,-1691.2,13.3); SendClientMessage(playerid, COLOR_GRAD1, "Te-ai spawnat in {00FF22} Los Santos."); SendClientMessage(playerid, COLOR_GRAD1, "Pentru a-ti schimba spawn-ul tasteaza "LIGHTBLUE"/spawn"); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); } else if(PlayerInfo[playerid][Spawn] == 2) { SetPlayerPos(playerid, -1417.0,-295.8,14.1); SendClientMessage(playerid, COLOR_GRAD1, "Te-ai spawnat in {00FF22} San Fierro."); SendClientMessage(playerid, COLOR_GRAD1, "Pentru a-ti schimba spawn-ul tasteaza "LIGHTBLUE"/spawn"); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); } else if(PlayerInfo[playerid][Spawn] == 3) { SetPlayerPos(playerid, 1699.2,1435.1, 10.7); SendClientMessage(playerid, COLOR_GRAD1, "Te-ai spawnat in {00FF22} Las Venturas."); SendClientMessage(playerid, COLOR_GRAD1, "Pentru a-ti schimba spawn-ul tasteaza "LIGHTBLUE"/spawn"); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); } else if(PlayerInfo[playerid][Spawn] == 4) { SetPlayerPos(playerid, -2311.7415,-1637.7587,483.2643); SendClientMessage(playerid, COLOR_GRAD1, "Te-ai spawnat in {00FF22} Chilliad."); SendClientMessage(playerid, COLOR_GRAD1, "Pentru a-ti schimba spawn-ul tasteaza "LIGHTBLUE"/spawn"); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); } return 1; }
antonio112 Posted March 15, 2011 Posted March 15, 2011 Am reusit partial sa rezolv problema mea. Deci, acum cand ma loghez, ma spawneaza direct ... dar mai ramane problema cu F4 ... nu stiu cum sa rezolv aia inca. Daca ai vreo idee, te rog posteaz`o. Pana atunci, ma mai chinuiesc eu ... poate reusesc ceva.Later edit: Am rezolvat`o si pe asta ! Mersi fain de ajutor.
wizz Posted April 18, 2012 Posted April 18, 2012 Uite ce imi da mie .. D:\Torreto Racing\filterscripts\Untitled.pwn(77) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(91) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(96) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(117) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(119) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(126) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(127) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(172) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(183) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(185) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(187) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(190) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(197) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(223) : warning 217: loose indentation D:\Torreto Racing\filterscripts\Untitled.pwn(261) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 18 Warnings.Ce pot sa fac ?
[RMD]MaTriX Posted April 18, 2012 Posted April 18, 2012 Trebuie sa fie codurile in aceiasi linieuite sa nu fie asa [pawn] CreateDynamicObject(3267,1543.48046875,-1632.30285645,15.36717987,0.00000000,0.00000000,89.32449341); // CreateDynamicObject(3267,1543.57739258,-1634.76025391,15.36642933,0.00000000,0.00000000,89.32434082); //CreateDynamicObject(3267,1545.98974609,-1634.83093262,15.26642895,0.00000000,0.00000000,178.64379883); //CreateDynamicObject(969,1539.96813965,-1617.73925781,15.60506916,0.00000000,0.00000000,0.00000000); //CreateDynamicObject(792,1541.80651855,-1620.41369629,12.81677532,0.00000000,0.00000000,0.00000000); //object(aw_streettree1)(4)CreateDynamicObject(3475,1544.52783203,-1620.44396973,13.06688309,0.00000000,0.00000000,179.45996094); //object(vgsn_fncelec_pst)(1)CreateDynamicObject(3550,1545.16210938,-1620.42773438,12.45479393,0.00000000,0.00000000,0.00000000); //object(vgsn_fncelec_msh)(1) CreateDynamicObject(3578,1544.58251953,-1628.46630859,11.60401726,0.00000000,0.00000000,89.72534180); //object(dockbarr1_la)(1) Subterranea = CreateObject(971,1589.02050781,-1638.08789062,14.95541191,0.00000000,0.00000000,179.45617676); //porton subterraneo CreateDynamicObject(3578,1589.31274414,-1638.09411621,11.69941807,2.21932983,1.41104126,181.90057373); //object(dockbarr1_la)(2)CreateDynamicObject(1495,1582.60595703,-1638.04980469,12.29261684,0.00000000,0.00000000,359.50000000); //object(gen_doorext01)(1)CreateDynamicObject(8168,1545.74902344,-1633.55566406,14.11017895,0.00000000,0.00000000,197.17712402); //object(vgs_guardhouse01)(2)CreateDynamicObject(3475,1546.77575684,-1638.66101074,13.30988407,0.00000000,0.00000000,180.40625000); //object(vgsn_fncelec_pst)(6)[/pawn]Dar asa[pawn]CreateDynamicObject(3267,1543.48046875,-1632.30285645,15.36717987,0.00000000,0.00000000,89.32449341); // CreateDynamicObject(3267,1543.57739258,-1634.76025391,15.36642933,0.00000000,0.00000000,89.32434082); CreateDynamicObject(3267,1545.98974609,-1634.83093262,15.26642895,0.00000000,0.00000000,178.64379883); //CreateDynamicObject(969,1539.96813965,-1617.73925781,15.60506916,0.00000000,0.00000000,0.00000000); //CreateDynamicObject(792,1541.80651855,-1620.41369629,12.81677532,0.00000000,0.00000000,0.00000000); //object(aw_streettree1)(4)CreateDynamicObject(3475,1544.52783203,-1620.44396973,13.06688309,0.00000000,0.00000000,179.45996094); //object(vgsn_fncelec_pst)(1)CreateDynamicObject(3550,1545.16210938,-1620.42773438,12.45479393,0.00000000,0.00000000,0.00000000); //object(vgsn_fncelec_msh)(1)CreateDynamicObject(3578,1544.58251953,-1628.46630859,11.60401726,0.00000000,0.00000000,89.72534180); //object(dockbarr1_la)(1)CreateObject(971,1589.02050781,-1638.08789062,14.95541191,0.00000000,0.00000000,179.45617676); //porton subterraneoCreateDynamicObject(3578,1589.31274414,-1638.09411621,11.69941807,2.21932983,1.41104126,181.90057373); //object(dockbarr1_la)(2)CreateDynamicObject(1495,1582.60595703,-1638.04980469,12.29261684,0.00000000,0.00000000,359.50000000); //object(gen_doorext01)(1)CreateDynamicObject(8168,1545.74902344,-1633.55566406,14.11017895,0.00000000,0.00000000,197.17712402); //object(vgs_guardhouse01)(2)CreateDynamicObject(3475,1546.77575684,-1638.66101074,13.30988407,0.00000000,0.00000000,180.40625000); //object(vgsn_fncelec_pst)(6)[/pawn]
[RMS]Yakuza Posted April 19, 2012 Posted April 19, 2012 bv pt efort5/5 Scriptez for $$, Detalii,add sampofficial.
[Funky]Anakin Posted September 23, 2012 Posted September 23, 2012 SQLite ! Pune-l si pe ala SQLite :P
xplor09 Posted October 5, 2012 Posted October 5, 2012 Bravo PlayON aka Zh3r0 5/5 am luat unmute pe ..:[Xpllor]:.., contul asta e de domeniul trecutului :]]
danyalex Posted November 19, 2012 Posted November 19, 2012 imi da eroare la compile zice " fatal error 100: cannot read from file: "sscanf" " ce pot face?
SeeK Posted November 20, 2012 Posted November 20, 2012 imi da eroare la compile zice " fatal error 100: cannot read from file: "sscanf" " ce pot face?Veti avea nevoie de: SSCANF
DarkyTheAngel Posted November 21, 2012 Posted November 21, 2012 am pus si tot asa imi da Adaugi sscanf.inc in folderul pawno/include.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now