Jump to content

script Pár scriptov :)


_Tomas9_

Recommended Posts

Ahojťe trocha som sa nudil a chcem vám sem dať neake scripty čo som našiel,možno pre niekoho budu užitočné možno nie.

Prejdime k vecy.

1.Neony By Quattro

 

****************************

Screeny

[attachment=102:Neony.png] [attachment=103:neon 2.png] 

 

2.Top5Shooters

**********************

Screen

[attachment=104:Top5.png]

 

Popis:Je to taka tabulka.Prvých 5 ktorý maju najviac penazí.

 

3.AFK system

#include <a_samp>
#include <streamer>
#include <zcmd>
new Text3D:jaja[MAX_PLAYERS] , daadetext3d[MAX_PLAYERS] , textjaja[MAX_PLAYERS][128];
CMD:afk(playerid,params[])
{
if(isnull(params)) return SendClientMessage( playerid, -1, "/afk [reason]" );
if(daadetext3d[playerid] == 1)
{
new st[128];
format(st,sizeof(st),"Player Is AFK . REASON: %s",params);
textjaja[playerid] = st;
UpdateDynamic3DTextLabelText(jaja[playerid], 0x00FF40FF,st);
format(st,sizeof(st),"you has afk with reason: %s use /back to back",params);
SendClientMessage(playerid,-1,st);
daadetext3d[playerid] = 1;
TogglePlayerControllable(playerid,0);
}
else
{
new st[128];
format(st,sizeof(st),"Player Is AFK . REASON: %s",params);
textjaja[playerid] = st;
jaja[playerid] = CreateDynamic3DTextLabel(st, 0x00FF40FF, 0, 0, 0.6, 50,playerid);
format(st,sizeof(st),"you has afk with reason: %s use /back to back",params);
SendClientMessage(playerid,-1,st);
daadetext3d[playerid] = 1;
TogglePlayerControllable(playerid,0);
}
return 1;
}
CMD:back(playerid,params[])
{
TogglePlayerControllable(playerid,1);
DestroyDynamic3DTextLabel(jaja[playerid]);
daadetext3d[playerid] = 0;
SendClientMessage(playerid,-1,"you has used /back");
return 1;
}
public OnPlayerConnect(playerid)
{
daadetext3d[playerid] = 0;
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
if(daadetext3d[playerid] == 1)
{
 DestroyDynamic3DTextLabel(jaja[playerid]);
}
return 1;
}

Možno niekomu sa zíde možno nie:)

post-11424-0-35517200-1359933284_thumb.png

post-11424-0-23664100-1359933329_thumb.png

post-11424-0-23078400-1359933804_thumb.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...