SA-MP Forums Archive
How to.....<Read More> - 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: How to.....<Read More> (/showthread.php?tid=300197)



How to.....<Read More> - GAMER_PS2 - 29.11.2011

i was planning /savepos and /loadpos for my next command on my gamemode
i found some helpful information in SAMP Forum but they are in strcmp and some
of them are saving in ini file i mean is when /savepos your pos will be save and
will be loaded in /loadpos then when player disconnect the savepos will not save

also i have problem with searching duel system but they are in DCMD/STRCMP
i want to find a duel system in ZCMD but theres no duel system in ZCMD

Please help me guys


Re: How to.....<Read More> - English-Conceptz - 29.11.2011

im sorry but i read the first paragraph 3 times and i still dont understand what you want lol, for me to save my player positions i used Dowster vehicle script and commented out all the car stuff because the login system and save player position system is flawless


Re: How to.....<Read More> - GAMER_PS2 - 29.11.2011

:P i guese i'm bad at english lets do it in search version:

please help me to make /savepos, /loadpos and duel system

now you understand it?


Re: How to.....<Read More> - NessaHD - 29.11.2011

pawn Код:
new
    Float: pX[ MAX_PLAYERS ],
    Float: pY[ MAX_PLAYERS ],
    Float: pZ[ MAX_PLAYERS ]
;

CMD:afk( playerid, params[] )
{
    GetPlayerPos ( playerid, pX[ playerid ], pY[ playerid ], pZ[ playerid ] );
    /* store his positions in the variables */
    return ( 1 );
}

CMD:back( playerid, params[] )
{
    SetPlayerPos( playerid, pX[ playerid ], pY[ playerid ], pZ[ playerid ] );
    /* set his positions to the coordinates saved in the variables */
    return ( 1 );
}
Think it works.


Re: How to.....<Read More> - English-Conceptz - 29.11.2011

oohhhh he meant AFK system, lol now it all becomes clear.


Re: How to.....<Read More> - GAMER_PS2 - 29.11.2011

uhm sir i was not asking for AFK i was asking for /s(avepos) and /l(oadpos) which mean is

/s and /l command


Re: How to.....<Read More> - System64 - 29.11.2011

there is a tutorial on it, on this forums, search it, I think it wrote SmiT


Re: How to.....<Read More> - GAMER_PS2 - 29.11.2011

where can i find it sir any details whats the tittle sir?

and also can you help me sir to make duel system