- 0
Eroare comanda /oplace
-
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
danii.ws
Problema intalnita (descriere):Imi da eroare cand salvez
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: da.
Imi da eroare cand salvez
CMD:oplace(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:X, Float:Y, Float:Z, Obiect;
if(sscanf(params, "dd", Obiect, OValoare)) return SendClientMessage(playerid, COLOR_GREY, "{CECECE}Syntax:{FFFFFF} /oplace [obiect default 19042] [valoare]");
GetPlayerPos(playerid, X, Y, Z);
OPickup = CreatePickup(obiect, 1, X, Y, Z, -1);
OPremii++;
PlayerInfo[playerid][pAdminPoints]++;
Update(playerid, pAdminPointsz);
format(gString, sizeof(gString), "Admin %s started an event. Object: %d, prize: %d", GetName(playerid), Obiect, OValoare);
ABroadCast(COLOR_DARKRED, 1, gString);
}
return 1;
}
new: new OPremii,
OValoare,
OPickup;
Edited by danii.ws1 answer to this question
Recommended Posts