05.01.2013, 12:07
pawn Код:
//top of your script
new g_Uks5;
//Back to the error section
switch(g_Uks5)
{
Case 0:
{
g_Uks5 = 1; SendClientMessage( playerid, COLOR_WHITE, "Uks on nььd lukust lahti!" );
}
Case 1:
{
g_Uks5 = 0;
SendClientMessage( playerid, COLOR_WHITE, "Uks on nььd lukus!" );
}
}
pawn Код:
new g_Uks5;
//-------------
if( g_Uks5 == 0 ) g_Uks5 = 1; SendClientMessage( playerid, COLOR_WHITE, "Uks on nььd lukust lahti!" );
else if( g_Uks5 == 1 ) g_Uks5 = 0; SendClientMessage( playerid, COLOR_WHITE, "Uks on nььd lukus!" );