05.04.2016, 15:12
It's really good, but it can look even more good with more textdraws!
Keep up the good work
Keep up the good work
enum {
DIALOG_REGISTER,
DIALOG_LOGIN,
DIALOG_CHANGENAME,
DIALOG_PASS,
DIALOG_SETTINGS,
DIALOG_ACCOUNT,
DIALOGID,
DIALOG_VEHICLES,
VSETTINGS,
PSETTINGS,
WELCOME,
DIALOG_DM,
DIALOG_BAN,
DIALOG_TEMPBAN,
DIALOG_ADMINS,
DIALOG_COLOR,
DIALOG_RADIO,
DIALOG_CMDS,
DIALOG_CMDS_ADMIN,
DIALOG_CMDS_VEHICLE,
DIALOG_CMDS_ACCOUNT,
DIALOG_CMDS_VIP,
DIALOG_CMDS_PLAYER,
DIALOG_CMDS_HOUSE,
DIALOG_TELES,
ADMIN1,
ADMIN2,
ADMIN3,
ADMIN4,
ADMIN5,
DIALOG_CS,
DIALOG_ATTACH_INDEX,
DIALOG_ATTACH_INDEX_SELECTION,
DIALOG_ATTACH_EDITREPLACE,
DIALOG_ATTACH_MODEL_SELECTION,
DIALOG_ATTACH_BONE_SELECTION,
DIALOG_ATTACH_OBJECT_SELECTION,
DIALOG_ATTACH_OBJECT2_SELECTION,
DIALOG_STATS
};
new Float:SpecX[MAX_PLAYERS], Float:SpecY[MAX_PLAYERS], Float:SpecZ[MAX_PLAYERS], vWorld[MAX_PLAYERS], Inter[MAX_PLAYERS];
new IsSpecing[MAX_PLAYERS], IsBeingSpeced[MAX_PLAYERS],spectatorid[MAX_PLAYERS];
enum Data
{
Float:SpecX,
Float:SpecY,
Float:SpecZ,
vWorld,
Inter,
IsSpecing,
IsBeingSpeced,
spectatorid
};
enum E_PLAYER_DATA // This is usually the format I go with: E_*_DATA
enum PlayerInfo
enum PlayerData
new Info[MAX_PLAYERS][Data];
new PlayerData[MAX_PLAYERS][ENUM_NAME];
new Player[MAX_PLAYERS][ENUM_NAME];
switch (Info[playerid][inDMZone])
{
case 1:
{
new Random = random(sizeof(RandomSpawnsDE));
createdm(playerid,RandomSpawnsDE[Random][0], RandomSpawnsDE[Random][1], RandomSpawnsDE[Random][2], RandomSpawnsDE[Random][3],3,1,1,24,25,100,"");
}
case 2:
{
new Random = random(sizeof(RandomSpawnsRW));
createdm(playerid,RandomSpawnsRW[Random][0], RandomSpawnsRW[Random][1], RandomSpawnsRW[Random][2], RandomSpawnsRW[Random][3],1,2,2,26,28,100,"");
return 1;
}
case 3:
{
new Random = random(sizeof(RandomSpawnsSOS));
createdm(playerid,RandomSpawnsRW[Random][0], RandomSpawnsSOS[Random][1], RandomSpawnsSOS[Random][2], RandomSpawnsSOS[Random][3],10,2,3,26,32,100,"");
}
case 4:
{
new Random = random(sizeof(RandomSpawnsSNIPE));
createdm(playerid,RandomSpawnsSNIPE[Random][0], RandomSpawnsSNIPE[Random][1], RandomSpawnsSNIPE[Random][2], RandomSpawnsSNIPE[Random][3],3,4,4,25,34,100,"");
}
case 5:
{
new Random = random(sizeof(RandomSpawnsCS));
createdm(playerid,RandomSpawnsCS[Random][0], RandomSpawnsCS[Random][1], RandomSpawnsCS[Random][2], RandomSpawnsCS[Random][3],0,77,5,31,16,100,"");
}
}
if ( sscanf( params, "d", skinid )) return SendClientMessage( playerid, 0x6FFF00FF, "{F07F1D}USAGE: {BBFF00}/skin <ID>" );
CMD:changename ( playerid )
strcat(bigstring, ""ORANGE" •"YELLOW" /ban "PINK" - "CYAN"Ban a Rule breaker\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /spec "PINK" - "CYAN"Spectate a player\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /specoff "PINK" - "CYAN"Stop spectating\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /warn "PINK" - "CYAN"Warn a Rule breaker\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /tempban "PINK" - "CYAN"Ban a Rule breaker temporary\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /jail "PINK" - "CYAN"Jail the Rule Breaker\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /unjail "PINK" - "CYAN"Unjail the jailed one\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /mute "PINK" - "CYAN"Shut the mouth of Rule breaker \n");
strcat(bigstring, ""ORANGE" •"YELLOW" /unmute "PINK" - "CYAN"Un mute the muted one\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /gethere "PINK" - "CYAN"Get a plaer to Admin's location\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /announce "PINK" - "CYAN"Make an Announcement\n");
strcat(bigstring, ""ORANGE" •"YELLOW" /kick "PINK" - "CYAN"Kick a Rule breaker\n");
gettime ==> http://www.mediafire.com/download/81...8t/Gettime.inc SA-MP Fixer ==> https://sampforum.blast.hk/showthread.php?tid=591458 ZCMD ==> https://sampforum.blast.hk/showthread.php?tid=91354 YSI-4.0 ==> https://github.com/Southclaw/YSI-4.0 GetVehicleColor ==> https://sampforum.blast.hk/showthread.php?tid=235398 mSelection ==> https://sampforum.blast.hk/showthread.php?tid=407045