- 0
Problema submittohelpersandadmins
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
mihai1122
Problema intalnita (descriere):Nu stiu cum sa explic, dar am incercat sa fac ceva de genul, cand cineva foloseste o comanda ( comanda de admin sau helper) sa se trimita la toti helperii sau adminii online. cum ar venii submitToHelpersAndAdmins.
Ero(area / rile) / warning-(ul / urile):
C:\Users\Mihai\Desktop\WiDuAlK\gamemodes\WiD.pwn(437) : error 035: argument type mismatch (argument 1) C:\Users\Mihai\Desktop\WiDuAlK\gamemodes\WiD.pwn(514) : error 035: argument type mismatch (argument 3) C:\Users\Mihai\Desktop\WiDuAlK\gamemodes\WiD.pwn(519) : error 035: argument type mismatch (argument 3) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors.Liniile de cod / sursa / script-ul(obligatoriu): Linia 437 :
submitToHelpersAndAdmins(string1, COLOR_RED);Linia 514:
SendClientMessage(string, color, string);Linia 519
SendClientMessage(string, color, string);Imagini / Video (optional):Nu este nevoie.
Ati incercat sa rezolvati singur?: Da, am incercat si nu am reusit. Am incercat sa adaug stock submitToHelpersAndAdmins(playerid, color, string) // si nu a mers, am incercat si alte chestii .
Linia 514 si linia 519 sunt acceleasi. Tot stock-ul :
stock submitToHelpersAndAdmins(string, color) { foreach(Player, x) { if(P_Data[x][pAdmin] >= 1) { PlayerPlaySound(x,1056,0.0,0.0,0.0); SendClientMessage(string, color, string); } else if(P_Data[x][pHelper] >= 1) { PlayerPlaySound(x,1056,0.0,0.0,0.0); SendClientMessage(string, color, string); } } return 1; }<a href="http://www.game-state.eu/89.33.242.212:7777/"><img src="http://www.game-state.eu/89.33.242.212:7777/350x20_FFFFFF_FFFFFF_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>
2 answers to this question
Recommended Posts