Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DIALOG:42(playerid,response,listitem,inputtext[]) // GUI:AKTIVIERUNG
- {
- if(response == 1)
- {
- if(pInfo[playerid][pIsAkt] == 0)
- {
- if(strlen(inputtext) == pInfo[playerid][pAktivierung])
- {
- pInfo[playerid][pIsAkt] = 0;
- pInfo[playerid][pAktivierung] = 292014904;
- }
- else
- {
- SendClientMessage(playerid, COLOR_WHITE, "Fehlerhafter Code!");
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_WHITE, "Du bist schon Aktiviert!");
- }
- }
- if(response == 0)
- {
- Kick(playerid);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement