[Ajuda] "PlayerToPoint" is not implemented
#7

e qual o problema neste code ? me parece funcional.

pawn Код:
if (strcmp("/camera", cmdtext, true) == 0)
        {
                if(!IsACop(playerid))
                {
                 SendClientMessage(playerid, COLOR_RED, "   Vocк nгo й um policial!");
                 return 1;
                }
                if(PlayerToPoint(5.0,playerid,217.3896,81.3217,1005.0391))
                if(Spawned[playerid] == 1)
                {
                    PlayerMenu[playerid] = 0;
                    TogglePlayerControllable(playerid, 0);
                    ShowMenuForPlayer(CCTVMenu[0], playerid);
                }
                else
                {
                    SendClientMessage(playerid, 0xFF0000AA, "De spawn primeiro por favor!");
                }
                return 1;
        }
Tenta com esse.
pawn Код:
if (strcmp("/camera", cmdtext, true) == 0)
        {
                if(!IsACop(playerid))
                {
                 SendClientMessage(playerid, COLOR_RED, "   Vocк nгo й um policial!");
                 return 1;
                }
                if(!Spawned[playerid] == 1)
                {
                    SendClientMessage(playerid, COLOR_RED, "vocк nгo esta logado");
                    return 1;
                }
                if(PlayerToPoint(5.0,playerid,217.3896,81.3217,1005.0391))
                {
                    PlayerMenu[playerid] = 0;
                    TogglePlayerControllable(playerid, 0);
                    ShowMenuForPlayer(CCTVMenu[0], playerid);
                }
                return 1;
        }
Reply


Messages In This Thread
[Ajuda] "PlayerToPoint" is not implemented - by Gabriel10101 - 22.07.2012, 20:50
Re: [Ajuda] "PlayerToPoint" is not implemented - by Victor' - 22.07.2012, 20:52
Re: [Ajuda] "PlayerToPoint" is not implemented - by Kuddy - 22.07.2012, 20:53
Re: [Ajuda] "PlayerToPoint" is not implemented - by Gabriel10101 - 22.07.2012, 22:04
Respuesta: [Ajuda] "PlayerToPoint" is not implemented - by RedBulL_x - 23.07.2012, 00:14
Re: [Ajuda] "PlayerToPoint" is not implemented - by Gabriel10101 - 23.07.2012, 01:02
Respuesta: [Ajuda] "PlayerToPoint" is not implemented - by RedBulL_x - 23.07.2012, 01:43

Forum Jump:


Users browsing this thread: 1 Guest(s)