05.08.2016, 14:57
PHP код:
CMD:v6tat88(playerid, params[])
{
if(Logged[playerid] == true)
{
if(PlayerInfo[playerid][Tookoht] == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 1.0,Tookoht_TEST_X,Tookoht_TEST_Y,Tookoht_TEST_Z)) /
{
JoinJob[playerid] = 1;
ShowDialog(playerid, 11);
}
else SendClientMessage(playerid, COLOR_WHITE, "Siin ei saa uhtegi tood");
}
else SendClientMessage(playerid, V_SININE, "Sul on juba too olemas");
}
else SendClientMessage(playerid,0xFF0000FF, "VIGA: {0049FF}Sa ei ole veel sisse loginud");
return 1;
}