A problem with /exit
#1

I have a problem with / exit, since we hosted server not working (give / exit to leave the building and not come out)
except the mayor, the mayor go, somebody help me please?
Reply
#2

Um, how do you expect us to help with no script to work from?? We're not magicians.
Reply
#3

//Ballas
CreateDynamicPickup(1239, 23, 763.6037,-50.4406,1000.5859);//Ballas HQ exit
Create3DTextLabel("/exit", 0xFFFF00FF, 763.6037,-50.4406,1000.5859, 20,0,1);
CreateDynamicPickup(1239, 23, 2148.9358,-1484.7900,26.6242);//enter Ballas HQ
Create3DTextLabel("/enter", 0xFFFF00FF, 2148.9358,-1484.7900,26.6242, 20,0,1)
Reply
#4

//==========================[Exit HQ The Triads]============================
if(strcmp(cmdtext, "/exit", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if PlayerToPoint(5,playerid,2215.3987,-1076.0472,1050.4844)
*then
{
SetPlayerPos(playerid,-2523.2874,1216.5012,37.4283);
SetPlayerInterior(playerid,0);
return 1;
Reply
#5

PlayerToPoint is deprecated as far as I know, use IsPlayerInRangeOfPoint instead
You're not opening the bracket in your PlayerTopoint if
There's a *then in the middle of your code.
You are not identing.
You are only showing part of your code, we're going to need all of it.
Please use [PAWN] tags
Please do not double post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)