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(playerid, params[])
{
Checkpoint[0] = CreateDynamicCP( My Float When i Use /CreateHouse To Made Otmatic :D, 3, -1, -1, -1, 100);
Checkpoint[1] = CreateDynamicCP( My Float When i Use /CreateHouse To Made Otmatic :D, 3, -1, -1, -1, 100);
return 1;
}
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == Checkpoint[0]) //i Try Making House
{
SetPlayerInterior(playerid, 2);
SetPlayerPos(playerid, 269.2042,304.8026,999.1484);
}
if(checkpointid == Checkpoint[1]) // i Try Making House :D
{
SetPlayerInterior(playerid, 12);
SetPlayerPos(playerid, 2324.419921,-1145.568359,1050.710083);
}
}
i Can Made Here My Float To Made the checkpoints ?
PHP код:
Checkpoint[0] = CreateDynamicCP( My Float When i Use /CreateHouse To Made Otmatic :D, 3, -1, -1, -1, 100);
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