SA-MP Forums Archive
house system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: house system (/showthread.php?tid=368004)



house system - thefatshizms - 11.08.2012

Ok ive created this cmd:

pawn Код:
CMD:chouse(playerid, params[])
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    CreatePickup(1273, 23, X,Y,Z, -1);
    return 1;
}
i have 2 things i want to do.

#1 how can i set the pickups id with this cmd (sscanf)

#2 how can i make that the pickups save