ejexter
Well-known member
- Joined
- Feb 21, 2014
- Messages
- 211
- Reaction score
- 0
Someone can fix that?? :imoverit:
Code:
{$CLEO .cs}
thread "Pa0NeiX"
0B34: samp register_client_command "pmall" to_label @ACTION__PM_ALL
:MAIN
wait 0
goto @MAIN
:ACTION__PM_ALL
wait 0
SAMP.IsCommandTyped(1@)
if
0AD4: 0@ = scan_string 1@ format "%s" 22@
jf @USAGE
for 30@ = 0 to 1000
if
SAMP.IsPlayerConnected(30@)
then
21@ = SAMP.GetSAMPPlayerIDByActorHandle(30@)
0AF9: "/pm %d %s" 21@ 22@
end
end
SAMP.CmdRet()
goto @MAIN
:USAGE
wait 0
0AF8: "Usage: /PmAll [Message]" 0xFFFFFF
SAMP.CmdRet()
goto @MAIN