Jump to content
Hostul a fost schimbat. Daca vedeti serverul offline readaugati rpg.b-zone.ro sau 141.95.124.78:7777 in clientul de sa-mp ×

[Reuqest / CLEO] Reconnect mod


D J C
 Share

Recommended Posts

  • Problem description: Salut, i'm looking for simple code which reconnect the player to the same server, with a name that they specified themselves
  • Photo / Video (optional):-
  • Code (the source on which to help you, if necessary):-
  • Other remarks: thanks
Link to comment
Share on other sites

{$CLEO}

thread "scripter"

0000:

repeat
    wait 0
until 0AFA:

0B63: "Name"

0B34: "Name" @Name       

while true
wait 0 

    if 17@ == 1
    then
        0B28: 0
        wait 1050
        0B27: 1
        17@ = 0 
    end

end

:Name
if SAMP.IsCommandTyped(0@)
then 
    0B29: name 0@
    printf "Nume: %s" 4000 0@
    17@ = 1
else printf "Introdu un nume" 4000
end
cmdret

 

Link to comment
Share on other sites

  • Nic locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.