Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Textdraw1[playerid] = TextDrawCreate(400.000000, 2.000000, " "); // jail time
- TextDrawAlignment(Textdraw1[playerid], 2);
- TextDrawBackgroundColor(Textdraw1[playerid], 255);
- TextDrawFont(Textdraw1[playerid], 1);
- TextDrawLetterSize(Textdraw1[playerid], 0.300000, 1.000000);
- TextDrawColor(Textdraw1[playerid], -1);
- TextDrawSetOutline(Textdraw1[playerid], 1);
- TextDrawSetProportional(Textdraw1[playerid], 1);
- Textdraw39[playerid] = TextDrawCreate(498.000000, 123.000000, " "); // speedo
- TextDrawBackgroundColor(Textdraw39[playerid], 255);
- TextDrawFont(Textdraw39[playerid], 1);
- TextDrawLetterSize(Textdraw39[playerid], 0.389899, 1.299900);
- TextDrawColor(Textdraw39[playerid], 13107455);
- TextDrawSetOutline(Textdraw39[playerid], 1);
- TextDrawSetProportional(Textdraw39[playerid], 1);
- Textdraw40[playerid] = TextDrawCreate(498.000000, 140.000000, " "); // fuel
- TextDrawBackgroundColor(Textdraw40[playerid], 255);
- TextDrawFont(Textdraw40[playerid], 1);
- TextDrawLetterSize(Textdraw40[playerid], 0.389999, 1.299999);
- TextDrawColor(Textdraw40[playerid], 0xFFFFFFFF);
- TextDrawSetOutline(Textdraw40[playerid], 1);
- TextDrawSetProportional(Textdraw40[playerid], 1);
- Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
- TextDrawAlignment(Textdraw41[playerid], 2);
- TextDrawBackgroundColor(Textdraw41[playerid], 255);
- TextDrawFont(Textdraw41[playerid], 1);
- TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
- TextDrawColor(Textdraw41[playerid], -1);
- TextDrawSetOutline(Textdraw41[playerid], 1);
- TextDrawSetProportional(Textdraw41[playerid], 1);
- TextDrawUseBox(Textdraw41[playerid], 1);
- TextDrawBoxColor(Textdraw41[playerid], 100);
- TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);
- Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
- TextDrawAlignment(Textdraw42[playerid], 2);
- TextDrawBackgroundColor(Textdraw42[playerid], 255);
- TextDrawFont(Textdraw42[playerid], 1);
- TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
- TextDrawColor(Textdraw42[playerid], -1);
- TextDrawSetOutline(Textdraw42[playerid], 1);
- TextDrawSetProportional(Textdraw42[playerid], 1);
- TextDrawUseBox(Textdraw42[playerid], 1);
- TextDrawBoxColor(Textdraw42[playerid], 255);
- TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);
- Textdraw49[playerid] = TextDrawCreate(86.000000, 428.000000, " "); // area
- TextDrawAlignment(Textdraw49[playerid], 2);
- TextDrawBackgroundColor(Textdraw49[playerid], 255);
- TextDrawFont(Textdraw49[playerid], 2);
- TextDrawLetterSize(Textdraw49[playerid],0.280000, 1.100000);
- TextDrawColor(Textdraw49[playerid], -1);
- TextDrawSetOutline(Textdraw49[playerid], 1);
- TextDrawSetProportional(Textdraw49[playerid], 1);
- Textdraw51[playerid] = TextDrawCreate(608.000000, 98.000000, " "); // bank money
- TextDrawAlignment(Textdraw51[playerid], 3);
- TextDrawBackgroundColor(Textdraw51[playerid], 255);
- TextDrawFont(Textdraw51[playerid], 3);
- TextDrawLetterSize(Textdraw51[playerid], 0.650000, 2.199999);
- TextDrawColor(Textdraw51[playerid], 43775);
- TextDrawSetOutline(Textdraw51[playerid], 1);
- TextDrawSetProportional(Textdraw51[playerid], 1);
- Textdraw52[playerid] = TextDrawCreate(494.000000, 81.000000, " "); // money changes
- TextDrawAlignment(Textdraw52[playerid], 3);
- TextDrawBackgroundColor(Textdraw52[playerid], 255);
- TextDrawFont(Textdraw52[playerid], 1);
- TextDrawLetterSize(Textdraw52[playerid], 0.279999, 1.600000);
- TextDrawColor(Textdraw52[playerid], 0xFFFFFFFF);
- TextDrawSetOutline(Textdraw52[playerid], 1);
- TextDrawSetProportional(Textdraw52[playerid], 1);
- Textdraw53[playerid] = TextDrawCreate(320.000000, 341.000000, " "); // GPS
- TextDrawAlignment(Textdraw53[playerid], 2);
- TextDrawBackgroundColor(Textdraw53[playerid], 255);
- TextDrawFont(Textdraw53[playerid], 2);
- TextDrawLetterSize(Textdraw53[playerid], 0.400000, 1.500000);
- TextDrawColor(Textdraw53[playerid], -1);
- TextDrawSetOutline(Textdraw53[playerid], 1);
- TextDrawSetProportional(Textdraw53[playerid], 1);
- Textdraw54[playerid] = TextDrawCreate(331.000000, 340.000000, " "); // Spectate
- TextDrawAlignment(Textdraw54[playerid], 2);
- TextDrawBackgroundColor(Textdraw54[playerid], 255);
- TextDrawFont(Textdraw54[playerid], 1);
- TextDrawLetterSize(Textdraw54[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw54[playerid], -1);
- TextDrawSetOutline(Textdraw54[playerid], 0);
- TextDrawSetProportional(Textdraw54[playerid], 1);
- TextDrawSetShadow(Textdraw54[playerid], 0);
- Textdraw64[playerid] = TextDrawCreate(317.000000, 253.000000, " "); // Medals
- TextDrawAlignment(Textdraw64[playerid], 2);
- TextDrawBackgroundColor(Textdraw64[playerid], 255);
- TextDrawFont(Textdraw64[playerid], 1);
- TextDrawLetterSize(Textdraw64[playerid], 0.239999, 1.200000);
- TextDrawColor(Textdraw64[playerid], -1);
- TextDrawSetOutline(Textdraw64[playerid], 1);
- TextDrawSetProportional(Textdraw64[playerid], 1);
- format(bancheck, sizeof(bancheck),"LARP/Users/Bans/%s.ban",playersip);
- if(dini_Exists(bancheck))
- {
- ClearChatbox(playerid, 10);
- if(!strcmp(dini_Get(bancheck,"BanName"),plname,true))
- {
- SendClientMessage(playerid, COLOR_NICERED,"=======================================YOU ARE BANNED======================================");
- SendClientMessage(playerid, COLOR_LIGHTRED,"This Nickname is banned from our Server, And never was unbanned.");
- SendClientMessage(playerid, COLOR_LIGHTRED,"If you wish to be unbanned please visit our website at www.civilliferp.x10.bz");
- SendClientMessage(playerid, COLOR_LIGHTRED,"Ban Evading will result in a Permanent Range Ban.");
- SendClientMessage(playerid, COLOR_NICERED,"=======================================BAN INFORMATION===================================");
- format(msg2,sizeof(msg2),"Ban issued by administrator: %s",dini_Get(bancheck,"BannedBy"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- format(msg2,sizeof(msg2),"Ban issued on: %s",dini_Get(bancheck,"BanDate"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- format(msg2,sizeof(msg2),"Ban Reason: %s",dini_Get(bancheck,"BanReason"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- SendClientMessage(playerid, COLOR_NICERED,"========================================YOU ARE BANNED=======================================");
- format(msg2,sizeof(msg2),"[ADMIN]: %s (%d), Has been kicked for Possible Ban Evading",plname,playerid);
- SendAdminMessage(COLOR_LIGHTRED,msg2);
- format(msg2,sizeof(msg2),"(%d/%d/%d) [%d:%d:%d] %s Has been kicked by the anticheat for Possible Ban Evading",d,m,y,h,mi,s,plname);
- KickLog(msg2);
- OnPlayerUpdateEx(playerid);
- SetTimerEx("KickPlayerOut",500,false,"i",playerid);
- return 0;
- }
- else
- {
- SendClientMessage(playerid, COLOR_NICERED,"=======================================YOU ARE BANNED======================================");
- SendClientMessage(playerid, COLOR_LIGHTRED,"This IP Number is banned from this Server, And never was unbanned.");
- SendClientMessage(playerid, COLOR_LIGHTRED,"If you wish to be unbanned please visit our website at www.civilliferp.x10.bz");
- SendClientMessage(playerid, COLOR_LIGHTRED,"Ban Evading will result in a Permanent Range Ban.");
- SendClientMessage(playerid, COLOR_NICERED,"=======================================BAN INFORMATION=====================================");
- format(msg2,sizeof(msg2),"Name of the account Banned on the ip %s: %s",playersip, dini_Get(bancheck,"BanName"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- format(msg2,sizeof(msg2),"Ban issued by administrator: %s",dini_Get(bancheck,"BannedBy"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- format(msg2,sizeof(msg2),"Ban issued on date: %s",dini_Get(bancheck,"BanDate"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- format(msg2,sizeof(msg2),"Ban Reason: %s",dini_Get(bancheck,"BanReason"));
- SendClientMessage(playerid, COLOR_WHITE,msg2);
- SendClientMessage(playerid, COLOR_NICERED,"========================================YOU ARE BANNED=======================================");
- format(msg2,sizeof(msg2),"[ADMIN]: %s (%d), Has been kicked for Possible Ban Evading",plname,playerid);
- SendAdminMessage(COLOR_LIGHTRED,msg2);
- format(msg2,sizeof(msg2),"(%d/%d/%d) [%d:%d:%d] %s Has been kicked by the anticheat for Possible Ban Evading",d,m,y,h,mi,s,plname);
- KickLog(msg2);
- format(msg2,sizeof(msg2),"LARP/Users/%s.ini",plname);
- if(dini_Exists(msg2))
- {
- dini_IntSet(msg2,"Banned",1);
- }
- OnPlayerUpdateEx(playerid);
- SetTimerEx("KickPlayerOut",500,false,"i",playerid);
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement