pickup-problem
#3

Quote:

CMD:chp(playerid,params[])
{
new str[128], Float, Float:y, Float:z, Float:ang, amount, id;
if(PlayerAcc[playerid][Admin] >= 3)
if(sscanf(params, "i", oid, amount)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /chp id cookies");
{
format(str, sizeof(str), "You've created a Hidden-Pickup for %i cookies.", amount);
SendClientMessage(playerid, COLOR_YELLOW, str);
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid, ang);
x += (DISTANCE * floatsin(-ang, degrees));
y += (DISTANCE * floatcos(-ang, degrees));
Star = CreatePickup(oid, 1, x, y, z, -1, amount);
objectmodel[myobject]=oid;
objects++;
}
return 1;
}

anyone who pick it up dont receive cookies for picking it up
please help me
Reply


Messages In This Thread
pickup-problem - by suni - 24.04.2015, 00:27
Re: pickup-problem - by JaydenJason - 24.04.2015, 06:01
Re: pickup-problem - by suni - 23.05.2015, 21:48
Re: pickup-problem - by suni - 23.05.2015, 22:06
Re: pickup-problem - by JaydenJason - 26.05.2015, 18:59
Re: pickup-problem - by suni - 26.05.2015, 23:11
Re: pickup-problem - by suni - 04.06.2015, 18:15
Re: pickup-problem - by JaydenJason - 04.06.2015, 18:18
Re: pickup-problem - by suni - 04.06.2015, 18:21
Re: pickup-problem - by suni - 04.06.2015, 18:36

Forum Jump:


Users browsing this thread: 2 Guest(s)