How to.....<Read More>
#1

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
Reply
#2

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
Reply
#3

: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?
Reply
#4

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.
Reply
#5

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

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

/s and /l command
Reply
#7

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

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

and also can you help me sir to make duel system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)