05.01.2016, 19:38
Sinceramente, achei bem ruim.. Mais
Poderia ter arrumado isso, tem formas melhores de se fazer isso, exemplo: new MinhaVar[12];
Estб faltando cуdigo ai.
Isso estб beeeem, errado!
Pra que isso no cуdigo se vocк nгo usa?
Include <a_samp> deve ser sempre a primeira a ser definida..
Mano, vocк testou esse cуdigo?
-
Que grande apoio vocк teve desses dois:
Weslley Script: Apoio
Cueio Script: Apoio
PHP код:
new Text:OWNA0 ;
new Text:OWNA1 ;
new Text:OWNA2;
new Text:OWNA3;
new Text:OWNA4;
new Text:OWNA5;
new Text:OWNA6;
new Text:OWNA7;
new Text:OWNA8;
new Text:OWNA9;
new Text:OWNA10;
new Text:OWNA11;
new Text:OWNA12;
PHP код:
#define Msg SendClientMessage(playerid
PHP код:
public OnGameModeExit()
{
OWNA0 = TextDrawCreate(332.000000, 118.000000, "_");
TextDrawAlignment(OWNA0, 2);
TextDrawBackgroundColor(OWNA0, 255);
TextDrawFont(OWNA0, 1);
TextDrawLetterSize(OWNA0, 0.500000, 1.000000);
TextDrawColor(OWNA0, -1);
TextDrawSetOutline(OWNA0, 0);
TextDrawSetProportional(OWNA0, 1);
TextDrawSetShadow(OWNA0, 1);
TextDrawUseBox(OWNA0, 1);
TextDrawBoxColor(OWNA0, 65535);
TextDrawTextSize(OWNA0, 13.000000, 344.000000);
OWNA1 = TextDrawCreate(332.000000, 133.000000, "_");
TextDrawAlignment(OWNA1, 2);
TextDrawBackgroundColor(OWNA1, 255);
TextDrawFont(OWNA1, 1);
TextDrawLetterSize(OWNA1, 0.460000, 23.400053);
TextDrawColor(OWNA1, -1);
TextDrawSetOutline(OWNA1, 0);
TextDrawSetProportional(OWNA1, 1);
TextDrawSetShadow(OWNA1, 1);
TextDrawUseBox(OWNA1, 1);
TextDrawBoxColor(OWNA1, 255);
TextDrawTextSize(OWNA1, -3.000000, 343.000000);
OWNA2 = TextDrawCreate(159.000000, 179.000000, "Donos: Helder");
TextDrawBackgroundColor(OWNA2, 255);
TextDrawFont(OWNA2, 1);
TextDrawLetterSize(OWNA2, 0.500000, 1.000000);
TextDrawColor(OWNA2, 16777215);
TextDrawSetOutline(OWNA2, 0);
TextDrawSetProportional(OWNA2, 1);
TextDrawSetShadow(OWNA2, 1);
OWNA3 = TextDrawCreate(159.000000, 216.000000, "Mappers: Vagas Abertas");
TextDrawBackgroundColor(OWNA3, 255);
TextDrawFont(OWNA3, 1);
TextDrawLetterSize(OWNA3, 0.500000, 1.000000);
TextDrawColor(OWNA3, 16777215);
TextDrawSetOutline(OWNA3, 0);
TextDrawSetProportional(OWNA3, 1);
TextDrawSetShadow(OWNA3, 1);
OWNA4 = TextDrawCreate(158.000000, 256.000000, "Moderador: Vagas Abertas");
TextDrawBackgroundColor(OWNA4, 255);
TextDrawFont(OWNA4, 1);
TextDrawLetterSize(OWNA4, 0.500000, 1.000000);
TextDrawColor(OWNA4, 16777215);
TextDrawSetOutline(OWNA4, 0);
TextDrawSetProportional(OWNA4, 1);
TextDrawSetShadow(OWNA4, 1);
OWNA5 = TextDrawCreate(160.000000, 294.000000, "Editor: Vagas Abertas");
TextDrawBackgroundColor(OWNA5, 255);
TextDrawFont(OWNA5, 1);
TextDrawLetterSize(OWNA5, 0.500000, 1.000000);
TextDrawColor(OWNA5, 16777215);
TextDrawSetOutline(OWNA5, 0);
TextDrawSetProportional(OWNA5, 1);
TextDrawSetShadow(OWNA5, 1);
OWNA6 = TextDrawCreate(332.000000, 196.000000, "_");
TextDrawAlignment(OWNA6, 2);
TextDrawBackgroundColor(OWNA6, 255);
TextDrawFont(OWNA6, 1);
TextDrawLetterSize(OWNA6, 0.500000, 1.000000);
TextDrawColor(OWNA6, -1);
TextDrawSetOutline(OWNA6, 0);
TextDrawSetProportional(OWNA6, 1);
TextDrawSetShadow(OWNA6, 1);
TextDrawUseBox(OWNA6, 1);
TextDrawBoxColor(OWNA6, 65535);
TextDrawTextSize(OWNA6, 13.000000, 344.000000);
OWNA7 = TextDrawCreate(264.000000, 136.000000, "Staff-Do Servidor");
TextDrawBackgroundColor(OWNA7, 255);
TextDrawFont(OWNA7, 0);
TextDrawLetterSize(OWNA7, 0.500000, 1.000000);
TextDrawColor(OWNA7, 65535);
TextDrawSetOutline(OWNA7, 0);
TextDrawSetProportional(OWNA7, 1);
TextDrawSetShadow(OWNA7, 1);
OWNA8 = TextDrawCreate(332.000000, 162.000000, "_");
TextDrawAlignment(OWNA8, 2);
TextDrawBackgroundColor(OWNA8, 255);
TextDrawFont(OWNA8, 1);
TextDrawLetterSize(OWNA8, 0.500000, 1.000000);
TextDrawColor(OWNA8, -1);
TextDrawSetOutline(OWNA8, 0);
TextDrawSetProportional(OWNA8, 1);
TextDrawSetShadow(OWNA8, 1);
TextDrawUseBox(OWNA8, 1);
TextDrawBoxColor(OWNA8, 65535);
TextDrawTextSize(OWNA8, 13.000000, 344.000000);
OWNA9 = TextDrawCreate(332.000000, 234.000000, "_");
TextDrawAlignment(OWNA9, 2);
TextDrawBackgroundColor(OWNA9, 255);
TextDrawFont(OWNA9, 1);
TextDrawLetterSize(OWNA9, 0.500000, 1.000000);
TextDrawColor(OWNA9, -1);
TextDrawSetOutline(OWNA9, 0);
TextDrawSetProportional(OWNA9, 1);
TextDrawSetShadow(OWNA9, 1);
TextDrawUseBox(OWNA9, 1);
TextDrawBoxColor(OWNA9, 65535);
TextDrawTextSize(OWNA9, 13.000000, 344.000000);
OWNA10 = TextDrawCreate(332.000000, 273.000000, "_");
TextDrawAlignment(OWNA10, 2);
TextDrawBackgroundColor(OWNA10, 255);
TextDrawFont(OWNA10, 1);
TextDrawLetterSize(OWNA10, 0.500000, 1.000000);
TextDrawColor(OWNA10, -1);
TextDrawSetOutline(OWNA10, 0);
TextDrawSetProportional(OWNA10, 1);
TextDrawSetShadow(OWNA10, 1);
TextDrawUseBox(OWNA10, 1);
TextDrawBoxColor(OWNA10, 65535);
TextDrawTextSize(OWNA10, 13.000000, 344.000000);
OWNA11 = TextDrawCreate(332.000000, 309.000000, "_");
TextDrawAlignment(OWNA11, 2);
TextDrawBackgroundColor(OWNA11, 255);
TextDrawFont(OWNA11, 1);
TextDrawLetterSize(OWNA11, 0.500000, 1.000000);
TextDrawColor(OWNA11, -1);
TextDrawSetOutline(OWNA11, 0);
TextDrawSetProportional(OWNA11, 1);
TextDrawSetShadow(OWNA11, 1);
TextDrawUseBox(OWNA11, 1);
TextDrawBoxColor(OWNA11, 65535);
TextDrawTextSize(OWNA11, 13.000000, 344.000000);
OWNA12 = TextDrawCreate(238.000000, 326.000000, "Todos Os Direitos Reservados");
TextDrawBackgroundColor(OWNA12, 255);
TextDrawFont(OWNA12, 0);
TextDrawLetterSize(OWNA12, 0.500000, 1.000000);
TextDrawColor(OWNA12, -16776961);
TextDrawSetOutline(OWNA12, 0);
TextDrawSetProportional(OWNA12, 1);
TextDrawSetShadow(OWNA12, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, OWNA0);
TextDrawShowForPlayer(i, OWNA1);
TextDrawShowForPlayer(i, OWNA2);
TextDrawShowForPlayer(i, OWNA3);
TextDrawShowForPlayer(i, OWNA4);
TextDrawShowForPlayer(i, OWNA5);
TextDrawShowForPlayer(i, OWNA6);
TextDrawShowForPlayer(i, OWNA7);
TextDrawShowForPlayer(i, OWNA8);
TextDrawShowForPlayer(i, OWNA9);
TextDrawShowForPlayer(i, OWNA10);
TextDrawShowForPlayer(i, OWNA11);
TextDrawShowForPlayer(i, OWNA12);
}
}
return 1;
}
PHP код:
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
PHP код:
#include <zcmd>
#include <a_samp>
Mano, vocк testou esse cуdigo?
-
Que grande apoio vocк teve desses dois:
Weslley Script: Apoio
Cueio Script: Apoio