- 0
Problema comanda
-
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
Mark S.
Problemă întâlnită (descriere): Am creat comanda /setkm si nu merge.
Ero(area / rile) / warning-(ul / urile): nu am
Liniile de cod / sursa / script-ul:
if(strcmp(cmd, "/setkm", true) == 0) { new car = GetPlayerVehicleID(playerid); tmp = strtok(cmdtext, idx); if(!strlen(tmp) && PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessage(playerid, COLOR_GREY, "/setodo [km]"); return 1; } if(IsPlayerInAnyVehicle(playerid)) { new dammount; dammount = strval(tmp); CarInfo[idx][KM] -= dammount; CarInfo[idx][KM] += dammount; SendClientMessage(playerid, COLOR_GREY, "Changed"); } else { SendClImagini / Video (optional):
Aţi încercat să rezolvaţi singur?: da am incercat asa
PS: Adrian_Petre daca ma poti ajuta tu cum ai facut la topicul cu km
Edited by SelbyAdaugat tag-ul pawn!
22 answers to this question
Recommended Posts