UltraJohn Posted March 7, 2010 Report Share Posted March 7, 2010 Uite "monster010" asta am bagat eu in GM http://pastebin.com/c89vKKBT si cand compilez imi da "don`t send" si "Send Error".Te rog ajutama cu aceasta comnda. Link to comment Share on other sites More sharing options...
adytzu32 Posted March 7, 2010 Report Share Posted March 7, 2010 if(strcmp(cmd, "/regplate", true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /regplate [playerid/PartOfName] [xx-xxx-xxx]"); } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /regplate [playerid/PartOfName] [xx-xxx-xxx]"); } if(IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); new Text3D:VText; format(string,sizeof(string),"%s",(result)); VText = Create3DTextLabel(string,0x008080FF,0.0,0.0,0.0,20,0,1); Attach3DTextLabelToVehicle(Text3D:VText, vehicleid, 0.0, 0.0, 0.0); } return 1; } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; } Proiecte:Hospital Interior-0%(neinceput)Limo Interior-0%(inceput)Bank Interior-0%(neinceput)Bus Interior-0%(inceput)Plane Interior-0%(neinceput)Train Interior-0%(neinceput)Boat Interior-95%(terminat,mici retusuri)Mini-Scripturi care au fost publicate:GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/ Link to comment Share on other sites More sharing options...
UltraJohn Posted March 8, 2010 Author Report Share Posted March 8, 2010 Salut!Multumesc ca ai incercat dar imi apare aceiasi problema.Nu poti rescrie comanda in asa fel incat sa o faci spre exemplu cand un jucator este intrun punct anume si foloseste comanda respectiva sa potat schimba numele la masina personala, adica la cea cumparat de el.Poti face?Multumesc anticipat! Link to comment Share on other sites More sharing options...
adytzu32 Posted March 8, 2010 Report Share Posted March 8, 2010 salut,daca ai fi citit regulamentul ai fi stiu ca nu ai voie sa ceri scripturi.in legatura cu,comanda incearc-o s-o pui sub o comanda gen /tazer sau ce mai ai tu,s-ar putea sa-ti mearga Proiecte:Hospital Interior-0%(neinceput)Limo Interior-0%(inceput)Bank Interior-0%(neinceput)Bus Interior-0%(inceput)Plane Interior-0%(neinceput)Train Interior-0%(neinceput)Boat Interior-95%(terminat,mici retusuri)Mini-Scripturi care au fost publicate:GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/ Link to comment Share on other sites More sharing options...
UltraJohn Posted March 10, 2010 Author Report Share Posted March 10, 2010 Imi cer scuze ca am incarcat regulile!O sa incerc acea comanda! Link to comment Share on other sites More sharing options...
UltraJohn Posted March 12, 2010 Author Report Share Posted March 12, 2010 Gata am rezolvat comanda merge!Multumesc mult! Link to comment Share on other sites More sharing options...
Question
UltraJohn
Uite "monster010" asta am bagat eu in GM http://pastebin.com/c89vKKBT si cand compilez imi da "don`t send" si "Send Error".Te rog ajutama cu aceasta comnda.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts