07.10.2014, 00:10
Hola bueno tengo ganas de crear mi propio trabajo pero no se como para que se den una idea el trabajo seria repartidor consta en repartir en diferentes lugares, Ejemplo unity, Lspd y asi sucesivamente.
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;
}