02.06.2011, 17:43
pawn Код:
if(strcmp(cmd, "/pickup", true) == 0)
{
new X,Y,Z;
X,Y,Z == Float:X, Float:Y, Float:Z;
new ppos;
ppos == GetPlayerPos(playerid, X,Y,Z);
AddStaticPickup(1277, 1, ppos, 0);
return 1;
}
if(strcmp(cmd, "/pickup", true) == 0)
{
new X,Y,Z;
X,Y,Z == Float:X, Float:Y, Float:Z;
new ppos;
ppos == GetPlayerPos(playerid, X,Y,Z);
AddStaticPickup(1277, 1, ppos, 0);
return 1;
}
if(strcmp(cmd, "/pickup", true) == 0) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x,y,z); AddStaticPickup(1277, 1, x, y, z, 0); return 1; }