31.05.2013, 20:44
i been asking my friends still cant seem to find a solution to this auto work gives you a new mission with out /work when its enabled it don't work
pawn Код:
if(dialogid == settings8)
{
if(response)
{
new msg[128];
format(msg,sizeof(msg),"You have updated your auto work settings.");
PlayerPlaySound(playerid, 1138, 0, 0, 0);
switch(listitem)
{
case 0: //Enable
{
PInfo[playerid][sAutoWork] = 1;
SendClientMessage(playerid, COLOR_IRC, msg);
ShowPlayerSettings(playerid);
return 1;
}
case 1: //Disable
{
PInfo[playerid][sAutoWork] = 0;
SendClientMessage(playerid, COLOR_IRC, msg);
ShowPlayerSettings(playerid);
return 1;
}
}
}
}