Creating pickups @ your location.
#1

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;
}
This won't work, got some errors, anyone knows how?
Reply
#2

Код:
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;
}
Reply
#3

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)