24.04.2015, 00:27
anytime i create a pickup with cookies and i pick-it-up, i do not receive any cookies.
look
i tried hard and hard
need an expert scriper
look
Quote:
need an expert scriper
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; } |