Hello Guys TextDraw Help irc too -
Xoomer - 31.07.2013
hello guys i want to make textdraw like this
Код:
remadeText2 = TextDrawCreate(517.000000, 389.000000, "Visit our forum");
TextDrawBackgroundColor(remadeText2, 255);
TextDrawFont(remadeText2, 2);
TextDrawLetterSize(remadeText2, 0.140000, 1.200000);
TextDrawColor(remadeText2, -1);
TextDrawSetOutline(remadeText2, 0);
TextDrawSetProportional(remadeText2, 1);
TextDrawSetShadow(remadeText2, 1);
how can i create a textdraw like that but not at same place
how do i know where i want to put that place code ?
and also i made setlevel cmd and setvip cmd on irc its not workin fine
errors
Код:
[05:03:23] <~XooMer-> !setlevel 0 7
<Zp-z> [IRC] Admin XooMer- have given admin status of 0 to Xoomer
<~XooMer-> !setvip 0
<Zp-H> IRC Admin XooMer- have given vip status of 0 to Xoomer
<~XooMer-> !admins
<~XooMer-> !vips
they are not setting level that i want
pawn Код:
IRCCMD:setlevel(botid, channel[], user[], host[], params[])
{
if (IRC_IsOwner(botid, channel, user))
{
new targetid,level,string[256];
if(sscanf(params, "ud", targetid, level))
if(!IsPlayerConnected(targetid)) return IRC_Say(botid,channel," Player is not online");
if(level < 0 || level > 7) return IRC_Say(botid,channel," Admin levels are ONLY between 1-7");
pInfo[targetid][pAdminLevel] = level;
format(string, sizeof(string), "0,3[IRC]Admin %s have given admin status of %d to %s",user,level,PlayerName(targetid));
SendClientMessageToAll(-1,string);
format(string, sizeof(string), "0,3[IRC] Admin %s have given admin status of %d to %s",user,level,PlayerName(targetid));
IRC_GroupSay(groupID,IRC_CHANNEL,string);
}
return 1;
}
IRCCMD:setvip(botid, channel[], user[], host[], params[])
{
if (IRC_IsOwner(botid, channel, user))
{
new targetid,level,string[256];
if(sscanf(params, "ud", targetid, level))
if(!IsPlayerConnected(targetid)) return IRC_Say(botid,channel," Player is not online");
if(level < 0 || level > 4) return IRC_Say(botid,channel," Vip levels are ONLY between 1-4");
pInfo[targetid][pVipLevel] = level;
format(string, sizeof(string), "IRC Admin % %s have given vip status of %d to %s",user,level,PlayerName(targetid));
SendClientMessageToAll(-1,string);
format(string, sizeof(string), "0,3 IRC Admin %s have given vip status of %d to %s",user,level,PlayerName(targetid));
IRC_GroupSay(groupID,"#zp-echo",string);
}
return 1;
}
Re: Hello Guys TextDraw Help irc too -
Matnix - 31.07.2013
You can easly create a textdraw by using some
textdraw editors, like -
this - it's the more simple for me. After that, visit the
sa-mp wiki for more informations about textdraws

.