- 0
Problema
-
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
cr3azy
Am si eu un gm godfather editat, iar cand dau o comanda /v setplate vreau sa imi apara un 3dtextlabel, dar nu apare nimic
else if(strcmp(x_nr,"setplate",true) == 0) { if(IsPlayerInVehicle(playerid, vehid) || PlayerInfo[vehid][pPcarkey] != -1 && PlayerInfo[vehid][pPcarkey2] != -1 && PlayerInfo[vehid][pPcarkey3] != -1) { if(cmdtext[idx++] != 32 || cmdtext[idx] == EOS) { SendClientMessage(playerid,0xFFFFFFAA,"USAGE: /v setplate [newplate]"); return 1; } format(CarInfo[vehid][cLicense], 32 ,"%s",cmdtext[idx]); SetVehicleNumberPlate(vehid,CarInfo[vehid][cLicense]); format(string, sizeof(string), "{FFFF00}You have set your vehicle's plate to:{FFFFFF} %s", CarInfo[vehid][cLicense]); SendClientMessage(playerid, 0xFFFFFFFF, string); OnCarUpdate(vehid); SavePlayerData(playerid); format(TextCar, sizeof(TextCar), "%s", CarInfo[vehid][cLicense]); TextUpCar[vehid] = Create3DTextLabel(TextCar, 0x33AAFFFF , 0.0, 0.0, 0.0, 25, 0, 1); Attach3DTextLabelToVehicle(TextUpCar[vehid], vehid, 0.0, 0.0, 0.1); Update3DTextLabelText(TextUpCar[vehid], 0x33AAFFFF, string); } else { SendClientMessage(playerid, 0xFFFFFFAA, "Nu esti in masina ta personala pentru a putea schimba NR de Inmatriculare."); return 1; } }2 answers to this question
Recommended Posts