- 0
Problema setplate
-
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
kiLLers10
Problema intalnita (descriere): Cand dat /v setplate si bag numarul nu imi mare apare .
Ero(area / rile) / warning-(ul / urile): nu primesc erori
Liniile de cod / sursa / script-ul(obligatoriu):
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; } new LabelString[128]; format(CarInfo[vehid][cLicense], 32 ,"%s",cmdtext[idx]); SetVehicleNumberPlate(vehid,CarInfo[vehid][cLicense]); Delete3DTextLabel(Car3DLabel[vehid]); format(LabelString, sizeof(LabelString), "{0099FF}%s", CarInfo[vehid][cLicense]); Car3DLabel[vehid] = Create3DTextLabel( LabelString, 0xFFFFFFFF, 0.0, 0.0, 0.0, 7.0, 0, 0 ); Attach3DTextLabelToVehicle( Car3DLabel[vehid], vehid, 0.0, 0.0, 0.0); Update3DTextLabelText(Car3DLabel[vehid], 0x33AAFFFF, LabelString); OnPropUpdate(); SavePlayerData(playerid); } else { SendClientMessage(playerid, 0xFFFFFFAA, "Nu esti in masina ta personala pentru a putea schimba NR de Inmatriculare."); return 1; } }Imagini / Video (optional):
Ati incercat sa rezolvati singur?: da
10 answers to this question
Recommended Posts