How do I answer a string?
#2

pawn Код:
// in /invite
SetPVarInt(THE_ID_YOU_INVITE, "Invite", 1);
pawn Код:
// in /accept
if(GetPVarInt(playerid, "Invite") != 0) {
    //blabla
    DeletePVar(playerid, "Invite");
    return 1;
}
pawn Код:
// in /decline
if(GetPVarInt(playerid, "Invite") != 0) {
    //blabla
    DeletePVar(playerid, "Invite");
    return 1;
}
Reply


Messages In This Thread
How do I answer a string? - by Dolph - 24.11.2010, 11:14
Re: How do I answer a string? - by Nero_3D - 24.11.2010, 11:54
Re: How do I answer a string? - by Dolph - 24.11.2010, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)