24.11.2010, 11:54
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;
}