їComo crear un trabajo?
#4

Te doy una idea para que te guнes.
pawn Код:
new Float:LugarRandom[][3] =
{
    {X, Y, Z},
    {X, Y, Z},
    {X, Y, Z}
};

CMD:trabajo(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 1.0, X, Y, Z))
    {
        if(VariableDelTrabajo == 1)
        {
            SendClientMessage(playerid, -1, "Se te ha entregado el pedido, llevalo a la residencia");
            CreateDynamicCP(playerid, LugarRandom[rand][0], LugarRandom[rand][1],LugarRandom[rand][2], 3.0, -1, -1, playerid, 100.0);
        }
    }
    return 1;
}
Reply


Messages In This Thread
їComo crear un trabajo? - by Jeree10 - 07.10.2014, 00:10
Respuesta: їComo crear un trabajo? - by Juance - 07.10.2014, 00:29
Respuesta: їComo crear un trabajo? - by alonxx - 07.10.2014, 00:47
Respuesta: їComo crear un trabajo? - by Ghost112397 - 07.10.2014, 02:07

Forum Jump:


Users browsing this thread: 1 Guest(s)