SA-MP Forums Archive
Little help please. - 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: Little help please. (/showthread.php?tid=643819)



Little help please. - Puff - 28.10.2017

PHP код:
Houses[i][EHousePickup] = CreateDynamicPickup(Houses[i][EHouseOwnerSQLID]>0?19522:1273,16,Houses[i][EHouseX], Houses[i][EHouseY], Houses[i][EHouseZ]); 
How can I change the pickup to checkpoint.. soo like when a player walks on the EHouseX, Y, Z, it shows 'em the checkpoint..


Re: Little help please. - Threshold - 29.10.2017

Create a checkpoint instead of a pickup?


Re: Little help please. - IceBilizard - 29.10.2017

Replacement
PHP код:
Houses[i][EHousePickup] = CreateDynamicPickup(Houses[i][EHouseOwnerSQLID]>0?19522:1273,16,Houses[i][EHouseX], Houses[i][EHouseY], Houses[i][EHouseZ]); 
to

PHP код:
Houses[i][EHousePickup] = CreateDynamicCP(16,Houses[i][EHouseX], Houses[i][EHouseY], Houses[i][EHouseZ], 5.0, -1, -1, -1100.0);