22.04.2011, 20:48
Well I'm basically wondering how to finish this snippet;
I am not certain that I've done it right at all, but I think so.. Anyway, if you could, please correct it and make the player decide if he wants to become a vampire(gTeam 2 or continue being a human=1)
And please add message to it, maybe it could freeze the player or at least show a brief message saying that you're currently going through the embrace. Thanks!
Код:
COMMAND:vampireembrace(playerid, params[]) { new player; if(sscanf(params, "u", playerid)) return SendClientMessage, playerid, 0xAFAFAFAA, "Usage: /vampireembrace [playerid/name] if(gTeam[playerid] == 2) if(Player != INVALID_PLAYER_ID) }
And please add message to it, maybe it could freeze the player or at least show a brief message saying that you're currently going through the embrace. Thanks!