Help fast
#1

Hello.
can someone make me a "public" for InSupa[playerid] ?
I already defined: new InSupa[MAX_PLAYERS] = 0;

But can someone make me a public ?
InSupa = Interior 4, and World 7.

So, InSupa = IsPlayerWorld 4 and IsPlayerInterior 7.

Someone script it please!
Reply
#2

Try:
pawn Code:
forward InSupa(playerid);
public InSupa(playrid) {
    SetPlayerVirtualWorld(playrid, 4);
    SetPlayerInterior(playerid, 7);
    return 1;
}
Reply
#3

Quote:
Originally Posted by bgedition
View Post
Try:
pawn Code:
forward InSupa(playerid);
public InSupa(playrid) {
    SetPlayerVirtualWorld(playrid, 4);
    SetPlayerInterior(playerid, 7);
    return 1;
}
No no.
I mean, InSupa = Check if the player is in world ID 4 and interior id 7, Not set ..
Reply
#4

pawn Code:
new World, Interior;
World = GetPlayerVirtualWorld(playerid);
Interior = GetPlayerInterior(playerid);
if(World == 4)
{
    if(Interior == 7)
    {
        // Code Here.
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)