08.02.2011, 23:56
When make this team once again, it is necessary that there were same actions
Код:
if(strcmp("/mig", cmdtext, true, 10) == 0) { if(migprov[playerid] == 0) { DestroyObject(mig[playerid]); mig[playerid] = CreateObject(18646,0,0,0,0,0,0,100.0); AttachObjectToVehicle(mig[playerid], GetPlayerVehicleID(playerid), -0.4, -0.1, 0.87, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_WHITE, "one"); GameTextForPlayer(playerid,"~r~-~w~$5000", 1000, 1); migprov[playerid]=1; } return 1; }