04.03.2017, 08:28
Hello,
I Create A Entrance For My Server Here is The Code,
#include <a_samp>
new clinfo;
public OnFilterScriptInit()
{
print("******************************************" );
print(" ");
print(" ");
print(" Entrance Script ");
print(" By ");
print(" Ayyash ");
print(" for ");
print(" My Server ");
print("******************************************" );
//-------------------------------------------------------------------------------------------
clinfo = CreateObject(19607, 1346.58484, 1256.81201, 10.57500, 0.00000, 0.00000, 0.00000);
//------------------------------------------OBJECT---------------------------------
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == clinfo) // Clinfo Entrance information
{
SetPlayerPos(playerid, 1351.03271, 1260.38562, 10.57500);
}
return 1;
}
But When Player Go to Checkpoint He Didn't Teleport For SetPlayerPos If Anyone Can Please Help Me
Here is The Picture,
i Hope Soon Someone Help me because This is Very Urgent project
I Create A Entrance For My Server Here is The Code,
#include <a_samp>
new clinfo;
public OnFilterScriptInit()
{
print("******************************************" );
print(" ");
print(" ");
print(" Entrance Script ");
print(" By ");
print(" Ayyash ");
print(" for ");
print(" My Server ");
print("******************************************" );
//-------------------------------------------------------------------------------------------
clinfo = CreateObject(19607, 1346.58484, 1256.81201, 10.57500, 0.00000, 0.00000, 0.00000);
//------------------------------------------OBJECT---------------------------------
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == clinfo) // Clinfo Entrance information
{
SetPlayerPos(playerid, 1351.03271, 1260.38562, 10.57500);
}
return 1;
}
But When Player Go to Checkpoint He Didn't Teleport For SetPlayerPos If Anyone Can Please Help Me
Here is The Picture,
i Hope Soon Someone Help me because This is Very Urgent project