-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by RikyAdv
-
-
Salut, cum pot face sa creez de exemplu o comanda de genul: /sms [numele jucatorului] si text?
O sa va las un model mai jos ca sa vedeti despre ce vreau sa zic.
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/sms [numar de telefon] [text] " 1@
else
{FFFFFF}chatmsg "{FFCC66}Syntax: {FFFFFF} [/sms [numele jucatorului] [text]"
end
SAMP.CmdRet()
Ajutor sanny builder
in Ajutor Scripting
Posted
Luam de exemplu numele de Andrei.
Vreau ca in loc de /sms 1234 si mesaj sa scriu mai bine /sms Andrei si mesaj, daca ma intelegeti ce zic.