Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Beduerfnisse()
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(pInfo[i][Hunger] >= 1)
- {
- pInfo[i][Hunger] -= random(2);
- }
- else SendClientMessage(i, COLOR_YELLOW, "Du bist am Verhungern!");
- if(pInfo[i][Durst] >= 1)
- {
- pInfo[i][Durst] -= random(2);
- }
- else SendClientMessage(i, COLOR_YELLOW, "Du bist am Verdursten!");
- if(pInfo[i][Harndrang] >= 1)
- {
- pInfo[i][Harndrang] -= random(3);
- }
- else SendClientMessage(i, COLOR_YELLOW, "Du hast dir in die Hosen gepinkelt!");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement