Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:sprobuj(playerid, params[])
- {
- new text[128], string[256];
- if(sscanf(params, "s[128]", text))
- {
- frp_Tip(playerid, "/sprobuj [Akcja np. podnieść ciężarek]");
- return 1;
- }
- new loss = random(2);
- switch(loss)
- {
- case 0:
- {
- if(PlayerCache[playerid][pSex] == 1)
- {
- format(string, sizeof(string), "zawiódł próbując %s", text);
- ProxDetector(10.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
- }
- else
- {
- format(string, sizeof(string), "zawiodła próbując %s", text);
- ProxDetector(10.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
- }
- }
- case 1:
- {
- if(PlayerCache[playerid][pSex] == 1)
- {
- format(string, sizeof(string), "odniósł sukces próbując %s", text);
- ProxDetector(10.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
- }
- else
- {
- format(string, sizeof(string), "odniosła sukces próbując %s", text);
- ProxDetector(10.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment