- 0
Ajutor
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
andrei04072
Unde pun astea in GM?
[pawn]public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/enter", true))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1479.80, -1787.05, 15.63))
{
SetPlayerPos(playerid, 386.33, 173.99, 1008.15);//HallEntrance
SetPlayerInterior(playerid, 1);
}
}
if(!strcmp(cmdtext, "/exit", true))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 386.33, 173.99, 1008.15))
{
SetPlayerPos(playerid, 1479.80, -1787.05, 15.63);//hallExit
SetPlayerInterior(playerid, 0);
}
}
return 1;
}
[/pawn]
2 answers to this question
Recommended Posts