16.07.2012, 21:09
I have a few errors, which I believe will be simple enough to fix.
The /enter command works perfectly, but upon typing /exit nothing happens, why is this?
also
Why aren't these showing up in my server?
Thank you.
pawn Код:
if(!strcmp(cmdtext, "/enter", true))
{
if(IsPlayerInRangeOfPoint(playerid, 10, 1341.5411, -1675.3422, 17.7164))
{
SetPlayerPos(playerid, 963.70001221, -53.29999924, 1000.70001221);
SetPlayerInterior(playerid, 3);
}
return 1;
}
if(!strcmp(cmdtext, "/exit", true))
{
if(IsPlayerInRangeOfPoint(playerid, 10, 963.70001221, -53.29999924, 1000.70001221))
{
SetPlayerPos(playerid, 1341.5411, -1675.3422, 17.7164);
SetPlayerInterior(playerid, 0);
}
return 1;
}
also
pawn Код:
Create3DTextLabel("Please press /enter", 0xEF994300, 1341.5411, -1675.3422, 17.7164, 10, 0, 1);
Create3DTextLabel("Please press /exit", 0xEF994300, 963.70001221, -53.29999924, 1000.70001221, 10, 0, 1);
Thank you.