- 0
Problema /aod
-
Similar Content
-
Problema turf
By Soryn.,
- 2 answers
- 209 views
-
- 1 reply
- 166 views
-
Problema
By ImJustSlim,
- 3 answers
- 279 views
-
- 2 replies
- 151 views
-
- 1 answer
- 296 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
InceMan
Problema intalnita (descriere):cand dau /aod off duty nu imi scade viata la 100hp
Ero(area / rile) / warning-(ul / urile): nu am erori
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:aod(playerid, params[])
{
if(playerVariables[playerid][pAdminLevel] >= 1)
{
switch(playerVariables[playerid][phod])
{
case 0:
{
playerVariables[playerid][phod] = 1;
format(szMessage, sizeof(szMessage), "Notice: {FFFFFF}Admin %s (%d) is now on administrative duty.", playerVariables[playerid][pNormalName], playerid);
SetPlayerHealth(playerid,999999999999999);
SetPlayerArmour(playerid,999999999999999);
SetPlayerToTeamColor(playerid);
}
case 1:
{
playerVariables[playerid][phod] = 0;
format(szMessage, sizeof(szMessage), "Notice: {FFFFFF}Admin %s (%d) is now off administrative duty.", playerVariables[playerid][pNormalName], playerid);
}
}
submitToHelpersAndAdmins(szMessage, COLOR_HOTORANGE);
}
return 1;
}
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: da dar nu merge cand dau /aod off duty nu imi scade viata la 100hp
FiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
Link to comment
Share on other sites
3 answers to this question
Recommended Posts