SA-MP Forums Archive
[Hello]Can Somone Help Me in enum - 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: [Hello]Can Somone Help Me in enum (/showthread.php?tid=556777)



[Hello]Can Somone Help Me in enum - sas10 - 11.01.2015

Hello
Guys i Want Know About Pos x y z save it in y_ini
i try to made smail house system
but i cant understand cuz i dont know with big system

Thanks


Re: [Hello]Can Somone Help Me in enum - sas10 - 11.01.2015

Guys i Try Hard to Make Simple House System
i Want Somone Help Me
PHP код:
#include <a_samp>
#include <zcmd>
#include <Streamer>
#include <YSI\y_ini>

new Checkpoint [MAX_PLAYERS];

CMD:Test(playeridparams[])
{
    
Checkpoint[0] = CreateDynamicCPMy Float When i Use /CreateHouse To Made Otmatic :D3, -1, -1, -1100);
    
Checkpoint[1] = CreateDynamicCPMy Float When i Use /CreateHouse To Made Otmatic :D3, -1, -1, -1100);
    return 
1;
}

public 
OnPlayerEnterDynamicCP(playeridcheckpointid)
{
    if(
checkpointid == Checkpoint[0]) //i Try Making House
    
{
        
SetPlayerInterior(playerid2);
        
SetPlayerPos(playerid269.2042,304.8026,999.1484);
    }
    if(
checkpointid == Checkpoint[1]) // i Try Making House :D
    
{
        
SetPlayerInterior(playerid12);
        
SetPlayerPos(playerid2324.419921,-1145.568359,1050.710083);
    }

i Can Made Here My Float To Made the checkpoints ?
PHP код:
Checkpoint[0] = CreateDynamicCPMy Float When i Use /CreateHouse To Made Otmatic :D3, -1, -1, -1100); 
i Can Save The Float Checkpoints with enum i use y_ini
Please Help Me i Try To Make it i Dont Tell All Make it To Me Please Help