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 ×

Problema Sanny Builder (urgent)


KeXo
 Share

Recommended Posts

Salutare, de curand am dechis sa fac un mod in Sanny Builder am reusit.

Am facu totul bine si ok, pana la un momentdat cand am reinstalat windowsul am instalat si programul si am vrut sa ma apuc de un alt mod, cu executare pe ID, spre exemplu "/pay1" iar aceasta comanda sa transfere id-ului respectiv 100.000

Imi spui ca "Player not connected" aunci cand fac o comanda gen pentru helperi "/n3 <ID>"

 

Iar pentru aceasta comanda voiam sa pun spre exemplu cand tastezi "/n3 <id>"

"/n <id> Masina x costa x si se tuneaza in orasul x"

Spune player not connected, iar la cea cu pay nu se executa corect, ce pot face?

 

 

 

Cine ma ajuta il ajut si eu deasemenea pe el cu cunostinte in Photoshop(avatare,semnaturi gif)

Poate ofer si o masina pe server sau o suma de banii, sunt disperat sa resolv asta cat mai curand.

Daca topic-ul nu a fost postat corect imi cer scuze, am nevoie urgenta de ajutor.
Edited by KeXo
Link to comment
Share on other sites

 

 

{$CLEO}
0662: "Tapina"
thread "Tapina"
wait 2500
0B34: samp register_client_command "dr1" to_label @cmd_1002
0B34: samp register_client_command "dr2" to_label @cmd_1001
0B34: samp register_client_command "dr3" to_label @cmd_1003
0AB1: call_scm_func @chatmsg 0
:cmd_39
wait 0
jump @cmd_39
:cmd_1002
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/dr %s Verific aceasta problema." 1@
else
print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
:cmd_1001
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/dr %s Report aiurea." 1@
else
print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
:cmd_1000
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/dr %s Spune direct problema pe report." 1@
else
print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "{bfff00}Mod creat de : {0080ff}Tapina{ff0066} dr1/dr2/dr3 has loaded." -1
chatmsg "{ff0000}/Comanda Ta |{ff9900}/Comanda Ta <ID> " -1
0AB2: ret 0

 

 

 

 

Acesta este, cand folosesc comanda /dr1 spune player not conected chiar daca are report.

Link to comment
Share on other sites

label :cmd_1003 lipseste...

 

{$CLEO}
                  
0B34: samp register_client_command "dr1" to_label @cmd_1002
0B34: samp register_client_command "dr2" to_label @cmd_1001
//0B34: samp register_client_command "dr3" to_label @cmd_1003

 
 
chatmsg "{bfff00}Mod creat de : {0080ff}Tapina{ff0066} dr1/dr2/dr3 has loaded." -1
chatmsg "{ff0000}/Comanda Ta |{ff9900}/Comanda Ta <ID> " -1  

 
:cmd_39
wait 0
goto @cmd_39
 
:cmd_1002
SAMP.IsCommandTyped(20@)
if
0AD4: 21@ = scan_string 20@ format "%d" 24@
then
1@ = SAMP.GetPlayerNickname(24@)
say "/dr %s Verific aceasta problema." 1@ 
else
    print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
 
:cmd_1001
SAMP.IsCommandTyped(20@)
if
0AD4: 21@ = scan_string 20@ format "%d" 24@
then
1@ = SAMP.GetPlayerNickname(24@)
    0AF9: samp say_msg "/dr %s Report aiurea." 1@
 
else
    print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
 
:cmd_1000
SAMP.IsCommandTyped(20@)
if
0AD4: 21@ = scan_string 20@ format "%d" 24@
then
1@ = SAMP.GetPlayerNickname(24@)
    0AF9: samp say_msg "/dr %s Spune direct problema pe report." 1@
 
else
    print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
 

asta functioneaza

Link to comment
Share on other sites

label :cmd_1003 lipseste...

{$CLEO}
                  
0B34: samp register_client_command "dr1" to_label @cmd_1002
0B34: samp register_client_command "dr2" to_label @cmd_1001
//0B34: samp register_client_command "dr3" to_label @cmd_1003

 
 
chatmsg "{bfff00}Mod creat de : {0080ff}Tapina{ff0066} dr1/dr2/dr3 has loaded." -1
chatmsg "{ff0000}/Comanda Ta |{ff9900}/Comanda Ta <ID> " -1  

 
:cmd_39
wait 0
goto @cmd_39
 
:cmd_1002
SAMP.IsCommandTyped(20@)
if
0AD4: 21@ = scan_string 20@ format "%d" 24@
then
1@ = SAMP.GetPlayerNickname(24@)
say "/dr %s Verific aceasta problema." 1@ 
else
    print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
 
:cmd_1001
SAMP.IsCommandTyped(20@)
if
0AD4: 21@ = scan_string 20@ format "%d" 24@
then
1@ = SAMP.GetPlayerNickname(24@)
    0AF9: samp say_msg "/dr %s Report aiurea." 1@
 
else
    print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
 
:cmd_1000
SAMP.IsCommandTyped(20@)
if
0AD4: 21@ = scan_string 20@ format "%d" 24@
then
1@ = SAMP.GetPlayerNickname(24@)
    0AF9: samp say_msg "/dr %s Spune direct problema pe report." 1@
 
else
    print "~y~/Synder + <id jucatorului>" 2000
end
SAMP.CmdRet()
 

asta functioneaza

 

 

Nu functioneaza frate. Nu e vorba despre acel label, am modificat, tot player not connected nu merge.. si nicio comanda ce lucreaza cu <id>, doar daca modul e gata facut.

Link to comment
Share on other sites

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.