public OnGameModeInit()
{
TDEditor_TD[0] = TextDrawCreate(41.199916, 293.039733, "San Francisco");
TextDrawLetterSize(TDEditor_TD[0], 0.455199, 1.599997);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], -1);
TextDrawSetShadow(TDEditor_TD[0], 2);
TextDrawSetOutline(TDEditor_TD[0], 0);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 3);
TextDrawSetProportional(TDEditor_TD[0], 1);
TextDrawSetShadow(TDEditor_TD[0], 2);
TDEditor_TD[1] = TextDrawCreate(66.000022, 322.906677, "ROLEPLAY");
TextDrawLetterSize(TDEditor_TD[1], 0.345598, 1.838930);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], -16776961);
TextDrawSetShadow(TDEditor_TD[1], 2);
TextDrawSetOutline(TDEditor_TD[1], 0);
TextDrawBackgroundColor(TDEditor_TD[1], 255);
TextDrawFont(TDEditor_TD[1], 3);
TextDrawSetProportional(TDEditor_TD[1], 1);
TextDrawSetShadow(TDEditor_TD[1], 2);
SetGameModeText("SF:RP");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForAll(playerid, TDEditor_TD);
return 1;
}
for(new i = 0; i < sizeof(TDEditor_TD); i++){ TextDrawShowForPlayer(playerid, TDEditor_TD[i]);}
TextDrawShowForPlayer(playerid, TDEditor_TD[0]),TextDrawShowForPlayer(playerid, TDEditor_TD[1];
TextDrawShowForAll(playerid, TDEditor_TD[0]); TextDrawShowForAll(playerid, TDEditor_TD[1]); |
TextDrawShowForPlayer(playerid, TDEditor_TD[0]); TextDrawShowForPlayer(playerid, TDEditor_TD[1]); |
Eu jб tф comeзando a entender mais e mais do Pawno.. O Whoo utilizou o Cуdigo
TextDrawShowForPlayer(playerid, TDEditor_TD[0]),TextDrawShowForPlayer(playerid, TDEditor_TD[1]; E Esqueceu o ")" no final.. Eu fui compilar e deu erro, quando fui ver, eu resolvi.. |
Se acha q parкntes causa um errinho, tenta deixar uma chave aberta! Vai ver o q й missгo impossivel!
|
Missгo impossнvel ? what, e sу saber fechar ou usar um tabulador, nгo tem segredos.
|